llApplyRotationalImpulse

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

All Issues ~ Search JIRA for related Bugs

Examples

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

See Also

Functions

•  llApplyImpulse
•  llSetAngularVelocity

Deep Notes

Search JIRA for related Issues

Signature

function void llApplyRotationalImpulse( vector force, integer local );