Physics.Ninja.AABB#projAABB_Convex()

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

Resolves Convex 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 885)
doc_phaser
2017-02-14 11:00:08
Comments
Leave a Comment

Please login to continue.