Phaser API Documentation

  Version: 
computeAngularVelocity(body, delta)

Description:

Calculates a Body's angular velocity.

Parameters:

name type description
body Phaser.Physics.Arcade.Body

The Body to compute the velocity for.

delta number

The delta value to be used in the calculation, in seconds.

Examples:
Since: 3.10.0