llTargetOmega

From Second Life Wiki
Revision as of 09:47, 21 February 2007 by SignpostMarv Martin (talk | contribs) (cleanup, added example)
Jump to navigation Jump to search

Summary

Function: llTargetOmega( vector axis, float spinrate, float gain );

Rotates the object at the specified spin rate, with a rotational bias set by the axis parameter

• vector axis
• float spinrate
• float gain

Attempt to spin at spinrate with strength gain

Examples

llTargetOmega(<1.0,3.0,0.5>,PI_BY_TWO,1.0); // rotates the x axis once per second, rotates the y axis 3 times per second, rotates the z axis once every two seconds.

Deep Notes

Search JIRA for related Issues

Signature

function void llTargetOmega( vector axis, float spinrate, float gain );