llSetAngularVelocity
function ll.SetAngularVelocity(AngVel: vector, Local: number)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.
Parameters
-
AngVel(vector) - The angular velocity to set the object to.
-
Local(number) - If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetAngularVelocity().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetAngularVelocity