Physics.Ninja.Body#facing
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Body

facing : number A const reference to the direction the Body is traveling or facing. Source

2025-01-10 15:47:30
Physics.Ninja.Body#x
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Body

x : number The x position. Source code:

2025-01-10 15:47:30
Physics.Ninja.Tile#collideWorldBounds()
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Tile

collideWorldBounds() Tiles cannot collide with the world bounds, it's up to you to keep them where you want them. But we need this API

2025-01-10 15:47:30
Physics.Ninja.Tile#setType()
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Tile

setType(id) Tiles cannot collide with the world bounds, it's up to you to keep them where you want them. But we need this API stub to

2025-01-10 15:47:30
Physics.Ninja.Body#touching
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Body

touching : Object This object is populated with boolean values when the Body collides with another.touching.up = true means

2025-01-10 15:47:30
Physics.Ninja.Body#deltaAbsX()
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Body

deltaAbsX() → {number} Returns the absolute delta x value. Returns

2025-01-10 15:47:30
Physics.Ninja.Body#speed
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Body

[readonly] speed : number The speed of this Body

2025-01-10 15:47:30
Physics.Ninja.Tile#height
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Tile

[readonly] height : number The height. Source

2025-01-10 15:47:30
Physics.Ninja.Circle#body
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.Circle

body Properties: Name Type Description

2025-01-10 15:47:30
Physics.Ninja.AABB#projAABB_22DegS()
  • References/Game Development/Phaser/Ninja Physics/Physics.Ninja.AABB

projAABB_22DegS(x, y, obj, t) → {number} Resolves 22 Degree tile collision. Parameters

2025-01-10 15:47:30