OBJECT_OMEGA
constant
Flag used with llGetObjectDetails to get the rotational (angular) velocity of an object in radians per second.
Other ObjectDetailsParam values (55)
OBJECT_ACCOUNT_LEVEL41OBJECT_ANIMATED_COUNT39OBJECT_ANIMATED_SLOTS_AVAILABLE40OBJECT_ATTACHED_POINT19OBJECT_ATTACHED_SLOTS_AVAILABLE35OBJECT_BODY_SHAPE_TYPE26OBJECT_CHARACTER_TIME17OBJECT_CLICK_ACTION28OBJECT_CREATION_TIME36OBJECT_CREATOR8OBJECT_DAMAGE51OBJECT_DAMAGE_TYPE52OBJECT_DESC2OBJECT_GROUP7OBJECT_GROUP_TAG33OBJECT_HEALTH50OBJECT_HOVER_HEIGHT25OBJECT_LAST_OWNER_ID27OBJECT_LINK_NUMBER46OBJECT_LOCKED55OBJECT_MASS43OBJECT_MATERIAL42OBJECT_NAME1OBJECT_OWNER6OBJECT_PATHFINDING_TYPE20OBJECT_PERMS53OBJECT_PERMS_COMBINED54OBJECT_PHANTOM22OBJECT_PHYSICS21OBJECT_PHYSICS_COST16OBJECT_POS3OBJECT_PRIM_COUNT30OBJECT_PRIM_EQUIVALENCE13OBJECT_RENDER_WEIGHT24OBJECT_REZ_TIME45OBJECT_REZZER_KEY32OBJECT_ROOT18OBJECT_ROT4OBJECT_RUNNING_SCRIPT_COUNT9OBJECT_SCALE47OBJECT_SCRIPT_MEMORY11OBJECT_SCRIPT_TIME12OBJECT_SELECT_COUNT37OBJECT_SERVER_COST14OBJECT_SIT_COUNT38OBJECT_STREAMING_COST15OBJECT_TEMP_ATTACHED34OBJECT_TEMP_ON_REZ23OBJECT_TEXT44OBJECT_TEXT_ALPHA49OBJECT_TEXT_COLOR48OBJECT_TOTAL_INVENTORY_COUNT31OBJECT_TOTAL_SCRIPT_COUNT10OBJECT_VELOCITY5OBJECT_VOLUME_DETECT56
Used with llGetObjectDetails to get the objects rotational velocity.
OBJECT_OMEGA- vector omega — velocity of the object in radians per second.
Examples
Section titled “Examples”Example 1
default{ state_entry() { llTargetOmega(<0,0,0.5>, 1, 1); }
touch_start(integer total_number) { llSay(0, (string)llGetObjectDetails(llGetKey(), [OBJECT_OMEGA])); }}See also
Section titled “See also”Functions
Section titled “Functions”llGetObjectDetailsllGetOmegallGetAccelllGetVelllGetForce— Gets the objects forcellGetTorquellGetMassllTargetOmega— Rotates the object around axis
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.