damping : number Damping is specified as a value between 0 and 1, which is the proportion of velocity lost per second. The linear
physicsBodyType : integer If enableBody
getVelocityAtPoint(result, relativePoint) → {Array} Gets the velocity of a point in the body.
game : Phaser.Game Local reference to game.
getCollisionMask() → {number} Gets the collision bitmask from the groups this body collides with
addContactMaterial(material) → {
setMaterial(material, fixtureKey) Parameters Name Type Description
collisionGroups :array An array containing the collision groups that have been defined in the World.
createDistanceConstraint(bodyA, bodyB, distance, localAnchorA, localAnchorB, maxForce)
getFixtures(keys) Accessor to get either a list of specified fixtures by key or the whole fixture list Parameters
Page 4 of 35