Talk:LlGetRot

From Second Life Wiki
Revision as of 06:33, 19 February 2014 by Cerise Resident (talk | contribs)
Jump to navigation Jump to search

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)