setMaterial(material, shape) Adds the given Material to all Shapes that belong to this Body.If you
body : Phaser.Physics.P2.Body
onChildInputDown : Phaser.Signal This Signal is dispatched
game : Phaser.Game Local reference to game.
removeAll(destroy, silent, destroyTexture) Removes
getFirstExists(exists, createIfNull, x, y,
shapeChanged() Updates the debug draw if any body shapes change. Source code:
setZeroVelocity() If this Body is dynamic then this will zero its velocity on both axis. Source
clearShapes() Removes all Shapes from this Body. Source code:
contactMaterial :p2.ContactMaterial The default Contact Material being used by the World.
Page 11 of 35