pxmi(v) → {number} Convert pixel value to p2 physics scale (meters) and inverses it.By default
[readonly] z : integer The z-depth value of this object within its parent container/Group
new DistanceConstraint(world, bodyA, bodyB, distance, localAnchorA, localAnchorB, maxForce)
create(x, y, key, frame, exists, index)
[readonly] length : integer Total number of children in this group, regardless of exists/alive
createContactMaterial(materialA, materialB, options)
removeConstraint(constraint) → {Phaser.Physics.P2.Constraint} Removes a Constraint from the world
getConstraints() → {array.<Phaser.Physics.P2.Constraint>} Populates and returns an array of
dynamic : boolean Returns true if the Body is dynamic. Setting Body.dynamic to 'false' will make it static.
destroy() Destroys this Body and all references it holds to other objects. Source
Page 32 of 35