Phaser API Documentation

  Version: 
setFixedRotation()

Description:

Setting fixed rotation sets the Body inertia to Infinity, which stops it from being able to rotate when forces are applied to it.

Returns:
Description:

This Game Object.