Phaser API Documentation

  Version: 

Description:

When useDamping is false (the default), this is absolute loss of velocity due to movement, in pixels per second squared.

When useDamping is true, this is a damping multiplier between 0 and 1. A value of 0 means the Body stops instantly. A value of 0.01 mean the Body loses 99% of its velocity per second. A value of 0.1 means the Body loses 90% of its velocity per second. A value of 1 means the Body loses no velocity.

The x and y components are applied separately.

Drag is applied only when acceleration is zero.

Since: 3.0.0