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={{LSLDefineRow||[[llApplyImpulse]]}}
|also_functions={{LSL DefineRow||[[llApplyImpulse]]}}
{{LSLDefineRow||[[llSetAngularVelocity]]}}
{{LSL DefineRow||[[llSetAngularVelocity]]}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 08:57, 20 July 2012

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>

See Also

Functions

•  llApplyImpulse
•  llSetAngularVelocity

Deep Notes

Search JIRA for related Issues

Signature

function void llApplyRotationalImpulse( vector force, integer local );