Phaser API Documentation

  Version: 
smoothDelta(delta)

Description:

Takes the delta value and smooths it based on the previous frames.

Called automatically as part of the step.

Parameters:

name type description
delta number

The delta value for this step.

Returns:
Description:

The smoothed delta value.

Type:
  • number
Since: 3.60.0
Source: src/core/TimeStep.js (Line 539)