Collider:getLocalCenter
EditReturns the Collider's center of mass.
cx, cy, cz = Collider:getLocalCenter()
Arguments
None
Returns
Name | Type | Description |
cx | number | The x position of the center of mass. |
cy | number | The y position of the center of mass. |
cz | number | The z position of the center of mass. |