Collider:getLocalCenter

Returns the Collider's center of mass.

cx, cy, cz = Collider:getLocalCenter()

Arguments

None

Returns

NameTypeDescription
cxnumberThe x position of the center of mass.
cynumberThe y position of the center of mass.
cznumberThe z position of the center of mass.

See also