Difference between revisions of "LlGetCenterOfMass"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m (Restriction) |
m |
||
Line 8: | Line 8: | ||
|func_footnote=If called from a child prim, the child's center of mass is returned instead (but still in region coordinates). | |func_footnote=If called from a child prim, the child's center of mass is returned instead (but still in region coordinates). | ||
|spec | |spec | ||
|caveats=Works in '''physical objects only'''. Returns llGetPos() for | |caveats=Works in '''physical objects only'''. Returns [[llGetPos]]() for non-physical objects. | ||
|constants | |constants | ||
|examples | |examples |
Revision as of 14:38, 1 December 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetCenterOfMass( );183 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns the vector position of the object's center of mass in region coordinates.
If called from a child prim, the child's center of mass is returned instead (but still in region coordinates).
Caveats
Works in physical objects only. Returns llGetPos() for non-physical objects.
Examples
See Also
Functions
• | llGetPos | |||
• | llGetGeometricCenter |