[BUG-213] Rotation -X and Rotation -Z are changed from 0 to 180 degree while changing value of Rotation -Y property #3276
Comments
Moon Metty commented at 2012-09-27T11:01:48Z Hi Agolovan, Of all things broken with the numeric rotation fields, the <180, 0, 180> angle is actually the correct behaviour. default
{
state_entry()
{
llSetColor(<0, 0, 1>, 0);
llSetColor(<0, 1, 0>, 1);
llSetColor(<1, 0, 0>, 2);
llSetColor(<1, 0, 1>, 3);
llSetColor(<0, 1, 1>, 4);
llSetColor(<1, 1, 0>, 5);
llSetTexture("5748decc-f629-461c-9a36-a35a221fe21f", ALL_SIDES);
}
touch_start(integer total_number)
{
llSetRot(ZERO_ROTATION);
}
} Before each test, touch the box to reset the rotation, and check if the viewer has actually set all rotation fields to zero. =======
======= There's an attempt to figure things out over here: http://wiki.secondlife.com/wiki/Talk:Rotation |
Grumpity ProductEngine commented at 2012-10-03T18:42:42Z Stinson says: will dig in. |
Moon Metty commented at 2012-10-03T19:10:25Z Thanks for the update Grumpity, Note that most of these problems already existed in 1.23.5 |
Kyle Linden commented at 2019-02-11T17:19:25Z Updating to expected behavior for posterity. These observations in the object edit menu are due to gimbal lock. https://en.wikipedia.org/wiki/Gimbal_lock For help with scripting under these conditions please check out our forums for further assistance. Thanks! |
Steps to Reproduce
Actual Behavior
Rotation -X and Rotation -Z are changed from 0 to 180 degree
Expected Behavior
Rotation -X and Rotation -Z are not changed
Other information
Links
Duplicates
Original Jira Fields
The text was updated successfully, but these errors were encountered: