llApplyRotationalImpulse

From Second Life Wiki
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 vector

Caveats

Examples

<lsl> default {

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

}

</lsl>

Deep Notes

Search JIRA for related Issues

Signature

function void llApplyRotationalImpulse( vector force, integer local );