Talk:Chatbot
Revision as of 20:22, 8 September 2007 by Ppaatt Lynagh (talk | contribs) (solve turn the East face to the Sun -- llSetLocalRot(llRotBetween(<1, 0, 0>, llGetSunDirection()));)
Bugs
- The rotation of an object is not the direction it faces
/7 llSetLocalRot(llRotBetween(<1, 0, 0>, llGetSunDirection())); // turn the East face to the Sun
/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