Phaser API Documentation

  Version: 
setFrictionAir(value)

Description:

Sets a new air resistance for this Game Object's Matter Body. A value of 0 means the Body will never slow as it moves through space. The higher the value, the faster a Body slows when moving through space.

Parameters:

name type description
value number

The new air resistance for the Body.

Returns:
Description:

This Game Object.

Since: 3.0.0