Vector Spring Interp

Vector Spring Interp

Windows
MacOS
Linux

Uses a simple spring model to interpolate a vector from Current to Target.

Target is Kismet Math Library

Vector Spring Interp
Current
X0
Y 0
Z 0
Target
X0
Y 0
Z 0
Spring State
Stiffness
0.0
Critical Damping Factor
0.0
Delta Time
0.0
Mass
1.000000
Return Value
X0
Y 0
Z 0

Inputs

In
Exec
Current
Vector

Current value

Target
Vector

Target value

Spring State
Vector Spring State Structure (by ref)

Data related to spring model (velocity, error, etc..) - Create a unique variable per spring

Stiffness
Float

How stiff the spring model is (more stiffness means more oscillation around the target value)

Critical Damping Factor
Float

How much damping to apply to the spring (0 means no damping, 1 means critically damped which means no oscillation)

Delta Time
Float
Mass
Float

Multiplier that acts like mass on a spring

Outputs

Out
Exec
Return Value
Vector
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss