Difference between revisions of "LlGetOmega"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Mobius Ryba (talk | contribs) m |
Fred Gandt (talk | contribs) (Added Caveat) |
||
Line 7: | Line 7: | ||
|return_text=that is the rotation velocity in radians per second. | |return_text=that is the rotation velocity in radians per second. | ||
|spec | |spec | ||
|caveats | |caveats=*Returns the omega of the root if called in a child script. | ||
|examples=<lsl> | |examples=<lsl> | ||
default | default |
Revision as of 01:26, 20 February 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetOmega( );79 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the rotation velocity in radians per second.
Caveats
- Returns the omega of the root if called in a child script.
Examples
<lsl> default {
state_entry() { llTargetOmega(<0,0,0.5>, 1, 1); }
touch_start(integer total_number) { vector omega = llGetOmega(); llSay(0, (string)omega); }
}
</lsl>See Also
Functions
• | llGetAccel | |||
• | llGetVel | |||
• | llGetForce | – | Gets the objects force | |
• | llGetTorque | |||
• | llGetMass | |||
• | llTargetOmega | – | Rotates the object around axis |