Difference between revisions of "LlApplyRotationalImpulse"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 21: Line 21:
</lsl>
</lsl>
|helpers
|helpers
|also_functions=*{{LSLG|llApplyImpulse}}
|also_functions={{LSLDefineRow||[[llApplyImpulse]]}}
{{LSLDefineRow||[[llSetAngularVelocity]]}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 07:57, 20 July 2012

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>

Deep Notes

Signature

function void llApplyRotationalImpulse( vector force, integer local );