The Impact Collides component. Should be applied as a mixin.
- Since: 3.0.0
- Source: src/physics/impact/components/Collides.js (Line 17)
Members
-
collides :number
-
[description]
Type:
- number
- Since: 3.0.0
- Source: src/physics/impact/components/Collides.js (Line 127)
Methods
-
setActiveCollision()
-
[description]
- Since: 3.6.0
- Source: src/physics/impact/components/Collides.js (Line 97)
Returns:
This Game Object.
-
setCollideCallback(callback, scope)
-
[description]
Parameters:
Name Type Description callback
CollideCallback [description]
scope
* [description]
- Since: 3.0.0
- Source: src/physics/impact/components/Collides.js (Line 29)
Returns:
This Game Object.
-
setCollidesNever()
-
[description]
- Since: 3.0.0
- Source: src/physics/impact/components/Collides.js (Line 52)
Returns:
This Game Object.
-
setFixedCollision()
-
[description]
- Since: 3.6.0
- Source: src/physics/impact/components/Collides.js (Line 112)
Returns:
This Game Object.
-
setLiteCollision()
-
[description]
- Since: 3.6.0
- Source: src/physics/impact/components/Collides.js (Line 67)
Returns:
This Game Object.
-
setPassiveCollision()
-
[description]
- Since: 3.6.0
- Source: src/physics/impact/components/Collides.js (Line 82)
Returns:
This Game Object.