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

getBodies() → {array.<Phaser

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

physicsBodyType : integer If enableBody

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

centerY : number The center y coordinate of this Group. It is derived by calling getBounds, calculating the

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

[readonly] children : Array.<Displa

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
Physics.P2.RotationalSpring#game
  • References/Game Development/Phaser/P2 Physics/Physics.P2.RotationalSpring

game : Phaser.Game Local reference to game.

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

callAll(method, context, args) Calls a function, specified by name, on all on children. The function

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

moveLeft(speed) If this Body is dynamic then this will move it to the left by setting its x velocity to the given speed.The speed

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

toLocalFrame(out, worldPoint) Transform a world point to local body frame. Parameters

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

new BodyDebug(game, body, settings) Draws a P2 Body to a Graphics instance for visual debugging.Needless to say, for every body

2025-01-10 15:47:30