Don't click here unless you want to be banned.

LSL Wiki : llGetLocalRot

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
rotation llGetLocalRot()

Returns the local rotation of the (child) object relative to the root/parent object's rotation.

If this is called on the root (parent) object, or an unlinked object, this returns llGetRot() instead. If the object is attached then it returns the rotation of the object relative to the attach point.

ExampleGetRootRot shows an example of its use.

Use llSetLocalRot to set the local rotation.

Compare with llGetRot.

Functions | Rotation | Link
Comments [Hide comments/form]
Attach a comment to this page: