llGetCenterOfMass
LSLvector llGetCenterOfMass()
Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.
More in LSL
void llSetScale(vector scale)
void llGiveInventory(key destination, string inventory)
void llRegionSayTo(string target, integer channelID, string text)
list llGetPhysicsMaterial()
integer llGetParcelFlags(vector pos)
integer llLinksetDataWriteProtected(string name, string value, string pass)
void llStopLookAt()
void llPreloadSound(string sound)