Physics.Ninja.AABB#projAABB_22DegB()

projAABB_22DegB(x, y, obj, t) → {number}

Resolves 22 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 702)
doc_phaser
2017-02-14 11:00:06
Comments
Leave a Comment

Please login to continue.