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
[readonly] id : number The Body ID. Each Body that has been added to the World has a unique
setZeroVelocity() If this Body is dynamic then this will zero its velocity on both axis. Source
type : number The type of physics system this body belongs to. Source code:
new Body(game, sprite, x, y, mass)
game : Phaser.Game Local reference to game.
collides(group, callback, callbackContext, shape)
setMaterial(material, shape) Adds the given Material to all Shapes that belong to this Body.If you
updateCollisionMask(shape) Updates the collisionMask. Parameters
dirty : boolean Internally used by Sprite.x/y Source code:
Page 3 of 10