Don't click here unless you want to be banned.

LSL Wiki : llGetOmega

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
vector llGetOmega()

Returns the current rotational velocity (in radians/second) of task, relative to the simulator axes.

The rotation equivalent to llGetVel. The rotational velocity can be changed using llApplyRotationalImpulse, llSetTorque, or llSetForceAndTorque.

To find the velocity relative to the direction the object is rotating, try this:
vector global_omega = llGetOmega();
vector local_velocity = global_omega / llGetRot();

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

functions | dynamics
There is no comment on this page. [Display comments/form]