Namespace: Collides

Phaser.Physics.Impact.Components. Collides

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.

Type
Phaser.GameObjects.GameObject

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.

Type
Phaser.GameObjects.GameObject

setCollidesNever()

[description]

Since: 3.0.0
Source: src/physics/impact/components/Collides.js (Line 52)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject

setFixedCollision()

[description]

Since: 3.6.0
Source: src/physics/impact/components/Collides.js (Line 112)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject

setLiteCollision()

[description]

Since: 3.6.0
Source: src/physics/impact/components/Collides.js (Line 67)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject

setPassiveCollision()

[description]

Since: 3.6.0
Source: src/physics/impact/components/Collides.js (Line 82)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject