llGetCenterOfMass
function ll.GetCenterOfMass(): vectorReturns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetCenterOfMass().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetCenterOfMass