The color of the body outline when it renders to the debug display.
Set to true
to have this body render its outline to the debug display.
Set to true
to have this body render a velocity marker to the debug display.
Sets the debug values of this body.
Bodies will only draw their debug if debug has been enabled for Arcade Physics as a whole. Note that there is a performance cost in drawing debug displays. It should never be used in production.
name | type | description |
---|---|---|
showBody | boolean |
Set to |
showVelocity | boolean |
Set to |
bodyColor | number |
The color of the body outline when rendered to the debug display. |
This Game Object.
Sets the color of the body outline when it renders to the debug display.
name | type | description |
---|---|---|
value | number |
The color of the body outline when rendered to the debug display. |
This Game Object.