llApplyRotationalImpulse

From Second Life Wiki
Revision as of 00:14, 23 December 2013 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llApplyRotationalImpulse( vector force, integer local );
0.0 Forced Delay
10.0 Energy

Applies rotational impulse to object.

• vector force
• integer local boolean, if TRUE force is treated as a local directional vector, if FALSE force is treated as a region directional vector

Caveats

Examples

<lsl> default {

   state_entry()
   {
       llApplyRotationalImpulse(<0,5,0>,TRUE); //Rotates object.
   }

}

</lsl>

See Also

Functions

•  llApplyImpulse
•  llSetAngularVelocity

Deep Notes

Signature

function void llApplyRotationalImpulse( vector force, integer local );