flatten(array) A helper to flatten arrays. This is very useful as the fixtures are nested from time to time due to the way P2 creates
clearTilemapLayerBodies(map, layer) Clears all physics bodies from the given TilemapLayer that were created
height : number The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
addSpring(spring) → {Phaser
addParticle(offsetX, offsetY, rotation) → {p2.Particle}
clear() Clears all bodies from the simulation, resets callbacks and resets the collision bitmask. The P2 world is also cleared:
kinematic : boolean Returns true if the Body is kinematic. Setting Body.kinematic to 'false' will make it static.
x : number The x property of this InversePointProxy get and set in pixels. Source
gravity : Phaser.Point A locally applied gravity force
setBounds(x, y, width, height, left, right, top, bottom
Page 25 of 35