• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-303
Type: Bug Bug
Status: Closed Closed
Resolution: Misfiled
Priority: Normal Normal
Assignee: Unassigned
Reporter: r2d2 Wunderlich
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

rotation around local axis in negative direction fails (quaternion division)

Created: 11/Jun/07 11:00 AM   Updated: 31/Oct/07 08:57 AM
Return to search
Component/s: Scripts
Affects Version/s: 1.16.0
Fix Version/s: None

Issue Links:
Relates
 


 Description  « Hide
Create a cube and insert the following script

default
{
state_entry()

{ llListen(0,"",llGetOwner(),""); }

listen( integer channel, string name, key id, string message )
{
rotation x_10 = llEuler2Rot( <10 * DEG_TO_RAD,0,0> );
rotation new_rot;
if ( message == "G+" )

{ new_rot = llGetRot() * x_10 ; }

if ( message == "G-" )

{ new_rot = llGetRot() / x_10 ; }

if ( message == "L+" )

{ new_rot = x_10 * llGetRot() ; }

if ( message == "L-" )

{ new_rot = x_10 / llGetRot() ; }

llSetRot(new_rot);
}
}

Enter commands (["G+", "G-" ,"L+", "L-"]) in chat window and watch the changes of the rotation values in the edit window

Expected: If y- and z-rotation is 0, G+ and "L+" adds 10 degrees to x-rotation, "G-" and "L-" substracts 10 degrees from x-rotation
Observed: G+, G- and L+ works as expected. Starting with 0,0,0 rotation, each L- toggles the rotation between 10,0,0 and 0,0,0. Starting with y- or z-rotation != 0, each L- toggles between two floating away points



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Lex Neva made changes - 13/Jun/07 09:41 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]
Void Singer made changes - 30/Oct/07 01:55 AM
Resolution Won't Finish [ 2 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Void Singer made changes - 30/Oct/07 07:19 AM
Link This issue Relates to SVC-93 [ SVC-93 ]
Lex Neva made changes - 31/Oct/07 08:57 AM
Resolution Misfiled [ 6 ]
Status Reopened [ 4 ] Closed [ 6 ]
Rob Linden made changes - 22/Dec/07 01:47 AM
Workflow jira [ 12195 ] jira-2007-12-21 [ 23213 ]
Rob Linden made changes - 23/Dec/07 12:33 AM
Workflow jira-2007-12-21 [ 23213 ] jira-2007-12-22a [ 49291 ]
Sue Linden made changes - 13/Nov/08 12:11 PM
Workflow jira-2007-12-22a [ 49291 ] jira-2008-11-14 [ 82843 ]
Sue Linden made changes - 13/Nov/08 04:51 PM
Workflow jira-2008-11-14 [ 82843 ] jira-2008-11-14a [ 93625 ]