llApplyRotationalImpulse

From Second Life Wiki
Revision as of 11:54, 30 March 2018 by Panterapolnocy Resident (talk | contribs) (Pointing out, that function does not work on attachments.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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

See Also

Functions

•  llApplyImpulse
•  llSetAngularVelocity

Deep Notes

Signature

function void llApplyRotationalImpulse( vector force, integer local );