Physics.P2#beginContactHandler()

beginContactHandler(event) Handles a p2 begin contact event. Parameters Name Type Description event object The event data. Source code: physics/p2/World.js (Line 502)

Physics.P2#applySpringForces

applySpringForces : boolean Enable to automatically apply spring forces each step. Source code: physics/p2/World.js (Line 1899)

Physics.P2#applyGravity

applyGravity : boolean Enable to automatically apply gravity each step. Source code: physics/p2/World.js (Line 1939)

Physics.P2#applyDamping

applyDamping : boolean Enable to automatically apply body damping each step. Source code: physics/p2/World.js (Line 1919)

Physics.P2#addSpring()

addSpring(spring) → {Phaser.Physics.P2.Spring} Adds a Spring to the world. Parameters Name Type Description spring Phaser.Physics.P2.Spring | p2.LinearSpring | p2.RotationalSpring The Spring to add to the World. Returns Phaser.Physics.P2.Spring - The Spring that was added. Source code: physics/p2/World.js (Line 931)

Physics.P2#addContactMaterial()

addContactMaterial(material) → {Phaser.Physics.P2.ContactMaterial} Adds a Contact Material to the world. Parameters Name Type Description material Phaser.Physics.P2.ContactMaterial The Contact Material to be added to the World. Returns Phaser.Physics.P2.ContactMaterial - The Contact Material that was added. Source code: physics/p2/World.js (Line 1153)

Physics.P2#addConstraint()

addConstraint(constraint) → {Phaser.Physics.P2.Constraint} Adds a Constraint to the world. Parameters Name Type Description constraint Phaser.Physics.P2.Constraint The Constraint to add to the World. Returns Phaser.Physics.P2.Constraint - The Constraint that was added. Source code: physics/p2/World.js (Line 1119)

Physics.P2#addBody()

addBody(body) → {boolean} Add a body to the world. Parameters Name Type Description body Phaser.Physics.P2.Body The Body to add to the World. Returns boolean - True if the Body was added successfully, otherwise false. Source code: physics/p2/World.js (Line 887)

Physics.Ninja.Tile#yw

[readonly] yw Properties: Name Type Description xw number Half the height. Source code: physics/ninja/Tile.js (Line 77)

Physics.Ninja.Tile#y

y : number The y position. Source code: physics/ninja/Tile.js (Line 685)