beginContactHandler(event) Handles a p2 begin contact event. Parameters
onBeginContact : Phaser.Signal This Signal is dispatched
createBody(x, y, mass, addToWorld, options, points) → {
getBody(object) → {p2.Body} Checks the given object to see if it has a p2.Body and if so returns
mpxi(v) → {number} Convert p2 physics value (meters) to pixel scale and inverses it.By default
applySpringForces : boolean Enable to automatically apply spring forces each step. Source
createGearConstraint(bodyA, bodyB, angle, ratio) → {
createLockConstraint(bodyA, bodyB, offset, angle, maxForce)
createRotationalSpring(bodyA, bodyB, restAngle, stiffness, damping)
paused : boolean The paused state of the P2 World. Source code:
Page 4 of 9