Phaser API Documentation

  Version: 
setAngularVelocity(velocity)

Description:

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

Parameters:

name type description
velocity number

The angular velocity.

Returns:
Description:

This Game Object instance.

Since: 3.0.0