Damped Spring Vector

Pure
DampedSpringVector

Critical-damped spring interpolation (no overshoot) parameterized by half-life for predictable settling time.

Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform

Inputs

NameTypeDefaultDescription
CurrentFVectorCurrent parameter
TargetFVectorTarget parameter
VelocityFVectorVelocity parameter
HalfLifefloat0.1HalfLife parameter
DeltaTimefloatDeltaTime parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output
OutVelocityFVectorVelocity output

Example Use Cases

Example 1

Smooth camera follow without overshoot.

Example 2

UI element position smoothing.