llGetCenterOfMass
DirectoryllGetCenterOfMass vector
Returns the prim’s centre of mass (unless called from the root prim, where it returns the object’s centre of mass).
Returns the prim’s centre of mass (unless called from the root prim, where it returns the object’s centre of mass).