Phaser API Documentation

  Version: 
allowRotation: boolean

Description:

Whether this Body's rotation is affected by its angular acceleration and angular velocity.

Type:
boolean
Default: true
Since: 3.0.0