llGetGeometricCenter

From Second Life Wiki
Revision as of 10:31, 7 September 2011 by Boroondas Gupte (talk | contribs) (This seems to be working 'as designed' and we know of no plans to change this specific function, so drop the 'currently' notion from the caveat.)
Jump to navigation Jump to search

Summary

Function: vector llGetGeometricCenter( );
0.0 Forced Delay
10.0 Energy

Returns the vector that is the geometric center of the object relative to the root prim.

Caveats

The "geometric center" is different from the "center" in viewer's build tools and what llRezObject considers as the "center" of a linkset.

Examples

Notes

  • Geometric center is the average of all linked prim centers. Mathematically it's the root relative position of all linked prims in the linkset added together and divided by the number of prims in the linkset.

See Also

Functions

•  llGetCenterOfMass

Deep Notes

Signature

function vector llGetGeometricCenter();