OBJECT OMEGA

From Second Life Wiki
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;