LSL Wiki Mirror 10-5-2006: llGetCenterOfMass

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
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
There is no comment on this page. [Display comments/form]