destroy() Clears all bodies from the simulation and unlinks World from Game. Should only be called on game shutdown. Call clear
mpx(v) → {number} Convert p2 physics value (meters) to pixel scale.By default Phaser uses
createMaterial(name, body) → {
onBodyAdded : Phaser.Signal This signal is dispatched
alignIn(container, position, offsetX, offsetY)
angle : number The angle of rotation of the group container, in degrees. This adjusts the group itself by modifying its
angularForce : number The angular force acting on the body. Source code:
y : number The y coordinate of this Body. Source code:
solveConstraints : boolean Enable/disable constraint solving in each step. Source
inertia : number The inertia of the body around the Z axis.. Source code:
Page 21 of 35