Difference between revisions of "Talk:LlGetRot"

From Second Life Wiki
Jump to: navigation, search
(Created page with "What does llGetRot() return when called in a script that is in a non-root prim of an attachment? ~~~~")
 
Line 2: Line 2:
  
 
[[User:Ratany Resident|Ratany Resident]] 05:13, 19 February 2014 (PST)
 
[[User:Ratany Resident|Ratany Resident]] 05:13, 19 February 2014 (PST)
 +
: It follows the same strange logic that applies to [[llGetPos]], that is, you'll only get reliable results if it's attached to ATTACH_AVATAR_CENTER and the attachment's root is ZERO_ROTATION relative to the avatar. This is all because the simulator really doesn't know anything about the shape of the avatar's skeleton, plus animations are a viewer effect. I'll copy the note over to here. --[[User:Cerise Resident|Cerise Resident]] 05:33, 19 February 2014 (PST)

Revision as of 05:33, 19 February 2014

What does llGetRot() return when called in a script that is in a non-root prim of an attachment?

Ratany Resident 05:13, 19 February 2014 (PST)

It follows the same strange logic that applies to llGetPos, that is, you'll only get reliable results if it's attached to ATTACH_AVATAR_CENTER and the attachment's root is ZERO_ROTATION relative to the avatar. This is all because the simulator really doesn't know anything about the shape of the avatar's skeleton, plus animations are a viewer effect. I'll copy the note over to here. --Cerise Resident 05:33, 19 February 2014 (PST)