Physics.Ninja.Circle#resolveCircleTile()

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

Please login to continue.