Phaser API Documentation

  Version: 
setAngularSpeed(speed)

Description:

Sets the current rotational speed of the body. Direction is maintained. Affects body angular velocity.

Parameters:

name type description
speed number

The angular speed.

Returns:
Description:

This Game Object instance.

Since: 3.60.0