getBodies() → {array.<Phaser
physicsBodyType : integer If enableBody
centerY : number The center y coordinate of this Group. It is derived by calling getBounds, calculating the
[readonly] children : Array.<Displa
debug : boolean Enable or disable debug drawing of this body Source code:
game : Phaser.Game Local reference to game.
callAll(method, context, args) Calls a function, specified by name, on all on children. The function
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
toLocalFrame(out, worldPoint) Transform a world point to local body frame. Parameters
new BodyDebug(game, body, settings) Draws a P2 Body to a Graphics instance for visual debugging.Needless to say, for every body
Page 5 of 35