llApplyRotationalImpulse

From Second Life Wiki
Revision as of 11:48, 10 June 2012 by Strife Onizuka (talk | contribs) (didn't think LSLG was used anywhere anymore!)
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 vectorboolean, if TRUE uses local axis, if FALSE uses region axis.

Caveats

Examples

<lsl> default {

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

}

</lsl>

See Also

Functions

Deep Notes

Signature

function void llApplyRotationalImpulse( vector force, integer local );