Physics.P2#onSpringRemoved

onSpringRemoved : Phaser.Signal This signal is dispatched when a Spring is removed from the World. It sends 1 argument: spring which is either a Phaser.Physics.P2.Spring, p2.LinearSpring or p2.RotationalSpring that was removed from the world. Source code: physics/p2/World.js (Line 124)

Physics.P2#onSpringAdded

onSpringAdded : Phaser.Signal This signal is dispatched when a Spring is added to the World. It sends 1 argument: spring which is either a Phaser.Physics.P2.Spring, p2.LinearSpring or p2.RotationalSpring that was added to the world. Source code: physics/p2/World.js (Line 115)

Physics.P2#onEndContact

onEndContact : Phaser.Signal This Signal is dispatched when final contact occurs between two bodies. This happens before the step has been done. It sends 4 arguments: bodyA, bodyB, shapeA and shapeB. It is possible that in certain situations the bodyA or bodyB values are null. You should check for thisin your own code to avoid processing potentially null physics bodies. Source code: physics/p2/World.js (Line 194)

Physics.P2#onContactMaterialRemoved

onContactMaterialRemoved : Phaser.Signal This signal is dispatched when a Contact Material is removed from the World. It sends 1 argument: material which is the Phaser.Physics.P2.ContactMaterial that was removed from the world. Source code: physics/p2/World.js (Line 160)

Physics.P2#onContactMaterialAdded

onContactMaterialAdded : Phaser.Signal This signal is dispatched when a Contact Material is added to the World. It sends 1 argument: material which is the Phaser.Physics.P2.ContactMaterial that was added to the world. Source code: physics/p2/World.js (Line 151)

Physics.P2#onConstraintRemoved

onConstraintRemoved : Phaser.Signal This signal is dispatched when a Constraint is removed from the World. It sends 1 argument: constraint which is the Phaser.Physics.P2.Constraint that was removed from the world. Source code: physics/p2/World.js (Line 142)

Physics.P2#onConstraintAdded

onConstraintAdded : Phaser.Signal This signal is dispatched when a Constraint is added to the World. It sends 1 argument: constraint which is the Phaser.Physics.P2.Constraint that was added to the world. Source code: physics/p2/World.js (Line 133)

Physics.P2#onBodyRemoved

onBodyRemoved : Phaser.Signal This signal is dispatched when a Body is removed to the World. It sends 1 argument: body which is the Phaser.Physics.P2.Body that was removed from the world. Source code: physics/p2/World.js (Line 106)

Physics.P2#onBodyAdded

onBodyAdded : Phaser.Signal This signal is dispatched when a new Body is added to the World. It sends 1 argument: body which is the Phaser.Physics.P2.Body that was added to the world. Source code: physics/p2/World.js (Line 97)

Physics.P2#onBeginContact

onBeginContact : Phaser.Signal This Signal is dispatched when a first contact is created between two bodies. This happens before the step has been done. It sends 5 arguments: bodyA, bodyB, shapeA, shapeB and contactEquations. It is possible that in certain situations the bodyA or bodyB values are null. You should check for thisin your own code to avoid processing potentially null physics bodies. Source code: physics/p2/World.js (Line 182)