Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llGetCenterOfMass

LSL
vector 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