Skip to content

OBJECT_OMEGA

constant
Constant
integer OBJECT_OMEGA = 29;
Get with llGetObjectDetails
OBJECT_OMEGA → vector omega

Flag used with llGetObjectDetails to get the rotational (angular) velocity of an object in radians per second.

Other ObjectDetailsParam values (55)

Used with llGetObjectDetails to get the objects rotational velocity.

OBJECT_OMEGA
  • vector omega — velocity of the object in radians per second.
Example 1
default
{
state_entry()
{
llTargetOmega(<0,0,0.5>, 1, 1);
}
touch_start(integer total_number)
{
llSay(0, (string)llGetObjectDetails(llGetKey(), [OBJECT_OMEGA]));
}
}
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from OBJECT OMEGA, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.