Physics.P2.BodyDebug#exists
  • References/Game Development/Phaser/P2 Physics/Physics.P2.BodyDebug

exists : boolean If exists is true the group is updated, otherwise it is skipped.

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

removeBodyNextStep(body) This will add a P2 Physics body into the removal list for the next step. Parameters

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

setCircle(radius, offsetX, offsetY, rotation)

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

convertCollisionObjects(map, layer, addToWorld) → {array}

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

world : Phaser.Physics.P2 Local

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

moveForward(speed) Moves the Body forwards based on its current angle and the given speed.The speed is represented in pixels per

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

onSpringRemoved : Phaser.Signal This signal is dispatched

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

clearCollision(clearGroup, clearMask, shape)

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

[readonly] time : boolean The World time. Source

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

debug : boolean Enable or disable debug drawing of this body Source code:

2025-01-10 15:47:30