Skip to content

llSetAngularVelocity

Function Syntax
void llSetAngularVelocity(
  1. vector AngVel, // The angular velocity to set the object to.
  2. integer Local // If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector.
);

Sets an object’s angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).

Has no effect on non-physical objects.