loadPolygon(key, object) → {boolean} Reads the shape data from a physics data file stored in the
pause() Pauses the P2 World independent of the game pause state. Source code:
setZeroDamping() Sets the Body damping and angularDamping to zero. Source code:
<static> KINEMATIC : number Kinematic body. Kinematic bodies only moves according to
forEach(callback, callbackContext, checkExists, args) Call a function on
force : Phaser.Physics.P2.Inver
reset() Called by Phaser.Physics when a State swap occurs.Starts the begin and end Contact listeners again.
moveBackward(speed) Moves the Body backwards based on its current angle and the given speed.The speed is represented in pixels
new P2(game, config) This is your main access to the P2 Physics World.From here you can create materials
removeChild(child) → {DisplayObject}
Page 16 of 35