| Name | Type | Description |
|---|---|---|
| mass = 0 | float | The mass in kilograms. A value of 0 calculates mass from the body's shapes and surface density. |
| surface = null | Surface | The surface properties applied to the body. |
| boneName = null | string | Optional name of the bone this body is attached to. Leave empty for non-skeletal bodies. |
| Type | Description |
|---|---|
| PhysicsBodyBuilder | A builder for the new body. |