Don't click here unless you want to be banned.

LSL Wiki : llGetCenterOfMass

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
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.

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

functions | physics | mass
Comments [Hide comments/form]
Attach a comment to this page: