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.