Difference between revisions of "LlGetCenterOfMass"
Jump to navigation
Jump to search
(Correct English grammar) |
(categories, text rewrite (too dense)) |
||
Line 4: | Line 4: | ||
|func_id=183|func_sleep=0.0|func_energy=10.0 | |func_id=183|func_sleep=0.0|func_energy=10.0 | ||
|return_type=vector | |return_type=vector | ||
|func_desc | |func_desc | ||
| | |Return_text=position of the object's center of mass in [[Viewer coordinate frames#Region|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 | |caveats | ||
Line 13: | Line 13: | ||
|helpers | |helpers | ||
|also_functions= | |also_functions= | ||
{{LSL DefineRow||[[llGetPos]]|}} | |||
{{LSL DefineRow||[[llGetGeometricCenter]]|}} | {{LSL DefineRow||[[llGetGeometricCenter]]|}} | ||
|also_events | |also_events | ||
Line 21: | Line 22: | ||
|negative_index | |negative_index | ||
|cat1=Physics | |cat1=Physics | ||
|cat2 | |cat2=Prim | ||
|cat3 | |cat3=Object | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 21:19, 4 May 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
Examples
See Also
Functions
• | llGetPos | |||
• | llGetGeometricCenter |