The Impact Debug component. Should be applied as a mixin.
- Since: 3.0.0
- Source: src/physics/impact/components/Debug.js (Line 7)
Members
-
debugBodyColor :number
-
[description]
Type:
- number
- Since: 3.0.0
- Source: src/physics/impact/components/Debug.js (Line 96)
-
debugShowBody :boolean
-
[description]
Type:
- boolean
- Since: 3.0.0
- Source: src/physics/impact/components/Debug.js (Line 54)
-
debugShowVelocity :boolean
-
[description]
Type:
- boolean
- Since: 3.0.0
- Source: src/physics/impact/components/Debug.js (Line 75)
Methods
-
setDebug(showBody, showVelocity, bodyColor)
-
[description]
Parameters:
Name Type Description showBody
boolean [description]
showVelocity
boolean [description]
bodyColor
number [description]
- Since: 3.0.0
- Source: src/physics/impact/components/Debug.js (Line 16)
Returns:
This Game Object.
-
setDebugBodyColor(value)
-
[description]
Parameters:
Name Type Description value
number [description]
- Since: 3.0.0
- Source: src/physics/impact/components/Debug.js (Line 37)
Returns:
This Game Object.