Phaser API Documentation

  Version: 
thrust(speed)

Description:

Apply thrust to the forward 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 instance.

Since: 3.0.0