getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global
thrustRight(speed) Applies a force to the Body that causes it to 'thrust' to the right, based on its current angle and the given speed
game : Phaser.Game Local reference to game.
createGearConstraint(bodyA, bodyB, angle, ratio) → {
applySpringForces : boolean Enable to automatically apply spring forces each step. Source
new Body(game, sprite, x, y, mass)
updateCollisionMask(shape) Updates the collisionMask. Parameters
init() Source code:
removeSpring(spring) → {Phaser
y : number The y coordinate of the group container. You can adjust the group container itself by modifying its coordinates
Page 9 of 35