resolveTile(x, y, body, tile) → {boolean}
Resolves tile collision.
Parameters
Name | Type | Description |
---|---|---|
x | number | Penetration depth on the x axis. |
y | number | Penetration depth on the y axis. |
body | Phaser.Physics.Ninja.AABB | The AABB involved in the collision. |
tile | Phaser.Physics.Ninja.Tile | The Tile involved in the collision. |
Returns
boolean -
True if the collision was processed, otherwise false.
- Source code: physics/ninja/AABB.js (Line 467)
Please login to continue.