move Towards
Moves a value current
towards target
.
Return
The new value.
Parameters
current
The current value.
target
The value to move towards.
max Delta
The maximum change that should be applied to the value.
Moves a value current
towards target
.
The new value.
The current value.
The value to move towards.
The maximum change that should be applied to the value.