llTargetOmega

From Second Life Wiki
Revision as of 11:30, 21 February 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

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

Rotates the object at spinrate times the magnitude of axis in radians per second, with a rotational bias set by the axis parameter.

• vector axis
• float spinrate
• float gain

Attempt to spin at spinrate with strength gain

Examples

//rotates the x axis once per second,
//  rotates the y axis 3 times per second, 
//  rotates the z axis once every two seconds.
//  combined the rate is about 3.20156 revolutions per second
llTargetOmega(<1.0,3.0,0.5>,TWO_PI,1.0);

Deep Notes

Search JIRA for related Issues

Signature

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