Phaser API Documentation

  Version: 
setAngularVelocity(value)

Description:

Sets the angular velocity of the body instantly. Position, angle, force etc. are unchanged.

Parameters:

name type description
value number

The angular velocity.

Returns:
Description:

This Game Object.

Examples:
Since: 3.0.0