Difference between revisions of "LlApplyRotationalImpulse"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 4: Line 4:
|func=llApplyRotationalImpulse
|func=llApplyRotationalImpulse
|p1_type=vector|p1_name=force
|p1_type=vector|p1_name=force
|p2_type=integer|p2_name=local
|p2_type=integer|p2_subtype=boolean|p2_name=local
|func_desc=Applies rotational impulse to object.
|func_desc=Applies rotational impulse to object.
|func_footnote
|func_footnote

Revision as of 00:14, 23 December 2013

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>

See Also

Functions

•  llApplyImpulse
•  llSetAngularVelocity

Deep Notes

Signature

function void llApplyRotationalImpulse( vector force, integer local );