Body.getCenterOfMassPosition
Returns the center of mass world position of a body.
Kind: Function
Environments: Game
Game
body:getCenterOfMassPosition( )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The body's center of mass world position. |