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

LSL Wiki : llGetGeometricCenter

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl809.us.archive.org
vector llGetGeometricCenter()

Returns the geometric center of the linked set the script is in relative to the object's position (the position of the root prim of a linked set). To get the object's position, use llGetPos.

llGetGeometricCenter works perfectly for complex objects with two prims, but any more than two and it's off significantly. Even three basic cubes offset along three axes with no rotation gives a problem. I'm really trying to conserve prims by using auto rezzing, but it's still very frustrating. The other few functions that came with SL 1.5 seem about as useful. -ReadyJack


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

Functions | Object
Comments [Hide comments/form]
I've found no problems with this function. Maybe it's been fixed?
-- FrimkronPascal (2005-09-16 03:10:17)
Attach a comment to this page: