dampen

Smoothly dampens from a position to a target

vec3
dampen
(
vec3 pos
,
vec3 target
,
float delta
,
float speed = 1
)

Meta