OBJECT OMEGA

From Second Life Wiki
Revision as of 17:56, 30 November 2015 by Strife Onizuka (talk | contribs) (Created page with "{{LSL Constant |name=OBJECT_OMEGA |type=integer |value=29 |desc=Used with llGetObjectDetails to get the objects rotational velocity. |examples=<source lang="lsl2"> default {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Constant: integer OBJECT_OMEGA = 29;

The integer constant OBJECT_OMEGA has the value 29

Used with llGetObjectDetails to get the objects rotational velocity.

[ OBJECT_OMEGA ]

[ OBJECT_OMEGA ]

Returns the list [ vector omega ]

• vector omega velocity of the object in radians per second.

Caveats


Related Articles

Functions

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

Examples

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

    touch_start(integer total_number)
    {
        llSay(0, (string)llGetObjectDetails(llGetKey(), [OBJECT_OMEGA]));
    }
}

Deep Notes

Search JIRA for related Issues

Signature

integer OBJECT_OMEGA = 29;