Difference between revisions of "Talk:Chatbot"

From Second Life Wiki
Jump to navigation Jump to search
m (log bug: "+" and "-" among spacers without being implemented as monadic prefix arithmetic operators)
(log the bug of the rotation of an object is not the direction it faces)
Line 1: Line 1:
== Bugs ==
== Bugs ==


Including "+" and "-" among the spacers prevents their use as postive/ negative signs for float/ integer literals, whoops ... until/ unless we add "+" and "-" as monadic prefix arithmetic operators. Meanwhile, "+" and "-" shouldn't be there.
* The rotation of an object is not the direction it faces
 
<pre>
/7 llSetLocalRot(llEuler2Rot(<0, 0, 0>)); // sets ZERO_ROTATION
/7 llSetLocalRot(llEuler2Rot(<PI_BY_TWO, 0, 0>)); // rotates half a turn clockwise about the X = East/West axis, does not face the East
/7 llSetLocalRot(llEuler2Rot(llGetSunDirection())); // rotates in relation to the Sun (and the opposing Moon), but does not face the Sun
</pre>
 
* Negative operands
 
<pre>
/7 llSetLocalRot(llEuler2Rot(<-1.570796, 0, 0>)); // rotates half a turn anticlockwise
</pre>
 
Including "+" and "-" among the spacers interferes with their use as postive/ negative signs for float/ integer literals, whoops ... until/ unless we add "+" and "-" as monadic prefix arithmetic operators. Meanwhile, "+" and "-" shouldn't be there.


== Wishes ==
== Wishes ==

Revision as of 19:50, 8 September 2007

Bugs

  • The rotation of an object is not the direction it faces
/7 llSetLocalRot(llEuler2Rot(<0, 0, 0>)); // sets ZERO_ROTATION
/7 llSetLocalRot(llEuler2Rot(<PI_BY_TWO, 0, 0>)); // rotates half a turn clockwise about the X = East/West axis, does not face the East
/7 llSetLocalRot(llEuler2Rot(llGetSunDirection())); // rotates in relation to the Sun (and the opposing Moon), but does not face the Sun
  • Negative operands
/7 llSetLocalRot(llEuler2Rot(<-1.570796, 0, 0>)); // rotates half a turn anticlockwise

Including "+" and "-" among the spacers interferes with their use as postive/ negative signs for float/ integer literals, whoops ... until/ unless we add "+" and "-" as monadic prefix arithmetic operators. Meanwhile, "+" and "-" shouldn't be there.

Wishes

We could/ should soon add yet a few more concise demoes, such as:

  • discover the time of day -- say if World > Force Sun > Region Default would show sunrise, noon, sunset, midnight, or what
  • move to owner and stop moving