llApplyRotationalImpulse

From Second Life Wiki
Revision as of 12: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 );

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

Search JIRA for related Issues

Signature

function void llApplyRotationalImpulse( vector force, integer local );