rotateLeft(speed) This will rotate the Body by the given speed to the left (counter-clockwise). Parameters
damping : number Damping is specified as a value between 0 and 1, which is the proportion of velocity lost per second. The linear
subAll(property, amount, checkAlive, checkVisible) Subtracts the amount from the given property on all children in this group. Group
setMaterial(material, fixtureKey) Parameters Name Type Description
moveForward(speed) Moves the Body forwards based on its current angle and the given speed.The speed is represented in pixels per
frameRate : number The frame rate the world will be stepped at. Defaults to 1 / 60, but you can change here. Also see useElapsedTime
getRandom(startIndex, length) → {any} Returns
onConstraintAdded : Phaser.Signal This signal is dispatched
clearCollision(clearGroup, clearMask, shape)
createDistanceConstraint(bodyA, bodyB, distance, localAnchorA, localAnchorB, maxForce)
Page 1 of 35