projAABB_45Deg(x, y, obj, t) → {number}
Resolves 45 Degree tile collision.
Parameters
Name | Type | Description |
---|---|---|
x | number | Penetration depth on the x axis. |
y | number | Penetration depth on the y axis. |
obj | Phaser.Physics.Ninja.AABB | The AABB 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/AABB.js (Line 569)
Please login to continue.