Difference between revisions of "LlGetCenterOfMass"

From Second Life Wiki
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_footnote
|func_desc
|func_desc
|return_text=that is the prim's [[Viewer coordinate frames#Region|region]] center of mass (unless called from the root prim, where it returns the object's center of mass)
|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