Skip to content

DisplacementParametricUpdater

Class Documentation

Edit documentation

A float updater that returns how fast the unit really moves, in world units per second. Unlike MoveSpeedParametricUpdater, it is measured from the unit's recent positions, so it also covers dashes, knockbacks and other movement that the move speed stat does not describe.

The client keeps the last positions of the unit with their times. The value is the length of that path divided by the time it took. A step of 100 units or more between two positions counts as a teleport and cuts the path there.

The owner of the graph must be a unit. Otherwise the value does not change.