get

open fun get(current: Double, target: Double): Double
open fun get(current: Float, target: Float): Float

Gets a SmoothDamped result from the value supplier. Must be called regularly to update the SmoothDamp velocities.

Return

a result

Parameters

current

the current value

target

the target value