Float Spring Interp

Float Spring Interp

Windows
MacOS
Linux

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

Target is Kismet Math Library

Float Spring Interp
Current
0.0
Target
0.0
Spring State
Stiffness
0.0
Critical Damping Factor
0.0
Delta Time
0.0
Mass
1.000000
Return Value
0.0

Inputs

In
Exec
Current
Float

Current value

Target
Float

Target value

Spring State
Float 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
Float
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss