resolveCircleTile(x, y, oH, oV, obj, t) → {number}
Resolves tile collision.
Parameters
Name | Type | Description |
---|---|---|
x | number | Penetration depth on the x axis. |
y | number | Penetration depth on the y axis. |
oH | number | Grid / voronoi region. |
oV | number | Grid / voronoi region. |
obj | Phaser.Physics.Ninja.Circle | The Circle involved in the collision. |
t | Phaser.Physics.Ninja.Tile | The Tile involved in the collision. |
Returns
number -
The result of the collision.
- Source code: physics/ninja/Circle.js (Line 310)
Please login to continue.