llGetOmega

From Second Life Wiki
Revision as of 02:22, 22 January 2015 by ObviousAltIsObvious Resident (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Function: vector llGetOmega( );

Returns a vector that is the rotation velocity of the object in radians per second.

Caveats

  • Returns the omega of the root if called in a child prim.
All Issues ~ Search JIRA for related Bugs

Examples

default
{
    state_entry()
    {
        llTargetOmega(<0,0,0.5>, 1, 1);
    }

    touch_start(integer total_number)
    {
        vector omega = llGetOmega();
        llSay(0, (string)omega);
    }
}

See Also

Functions

•  llGetAccel
•  llGetVel
•  llGetForce Gets the objects force
•  llGetTorque
•  llGetMass
•  llTargetOmega Rotates the object around axis

Deep Notes

Search JIRA for related Issues

Signature

function vector llGetOmega();