projAABB_Half(x, y, obj, t) → {number} Resolves Half tile collision. Parameters
facing : number A const reference to the direction the Body is traveling or facing. Source
game : Phaser.Game Local reference to game.
reportCollisionVsWorld(px, py, dx, dy, obj) Process a world collision and apply the resulting forces. Parameters
sprite : Phaser.Sprite Reference to the parent Sprite
setBounds(x, y, width, height) Updates the size of this physics world. Parameters
new Tile(body, x, y, width, height, type) Ninja Physics Tile constructor.A Tile is defined by its
projCircle_22DegS(x, y, oH, oV, obj, t) → {number} Resolves 22 Degree tile collision.
friction : number The friction applied to this object as it moves. Default
[readonly] height : number The height. Source
Page 1 of 14