Applies rotational velocity to object. It does the same job as llApplyRotationalImpulse but doesn't depend of the mass of object .

Syntax

void llSetAngularVelocity( vector initial_omega, integer local );

Forced delay: 0.0 seconds. Energy: ???.

Parameters

vector initial_omega
integer local (boolean)
boolean, if TRUE force is treated as a local directional vector, if FALSE force is treated as a region directional vector

Caveats

Examples


Instances :
one regular cube with mass M , and gravity 0 ( to disable the gravity) ; the object is homogenous and with only one prim so, its center of mass is its center of the object and its physical axis of rotation are its local axis :

See also

Functions

Deep notes

History

Date of Release 10/08/2011