Phaser API Documentation

  Version: 
thrustRight(speed)

Description:

Apply thrust to the right position of the body.

Use very small values, such as 0.1, depending on the mass and required speed.

Parameters:

name type description
speed number

A speed value to be applied to a directional force.

Returns:
Description:

This Game Object.

Since: 3.0.0