Physics.Ninja.AABB#resolveTile()

resolveTile(x, y, body, tile) → {boolean}

Resolves tile collision.

Parameters
Name Type Description
x number

Penetration depth on the x axis.

y number

Penetration depth on the y axis.

body Phaser.Physics.Ninja.AABB

The AABB involved in the collision.

tile Phaser.Physics.Ninja.Tile

The Tile involved in the collision.

Returns
boolean -

True if the collision was processed, otherwise false.

Source code: physics/ninja/AABB.js (Line 467)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.