Physics.P2.Body#moveBackward()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.Body

moveBackward(speed) Moves the Body backwards based on its current angle and the given speed.The speed is represented in pixels

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

thrustLeft(speed) Applies a force to the Body that causes it to 'thrust' to the left, based on its current angle and the given speed

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

x : number The x property of this InversePointProxy get and set in pixels. Source

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

height : number The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set

2025-01-10 15:47:30
Physics.P2.BodyDebug#getIndex()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

getIndex(child) → {integer} Get the index position of the given child in this group, which should

2025-01-10 15:47:30
Physics.P2.BodyDebug#sendToBack()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

sendToBack(child) → {any} Sends the given child to the bottom of this group so it renders below

2025-01-10 15:47:30
Physics.P2#pxm()
  • References/Game Development/Phaser/P2 Physics/Physics.P2

pxm(v) → {number} Convert pixel value to p2 physics scale (meters).By default Phaser uses

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

sleepSpeedLimit : number . Source code:

2025-01-10 15:47:30
Physics.P2.BodyDebug#moveUp()
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

moveUp(child) → {any} Moves the given child up one place in this group unless it's already at the

2025-01-10 15:47:30
Physics.P2.BodyDebug#total
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

[readonly] total : integer Total number of existing children in the group.

2025-01-10 15:47:30