vector llGetCenterOfMass()
Returns an
object's center of
mass in
region coordinates. This
position is affected by cutting, hollowing, shearing, etc
prims.
When executed from the
root of a
linked set, it returns the overall center of mass of all linked objects. When executed from a
child object, it returns just the center of mass of the child object itself.
functions |
physics |
mass