Uses a simple spring model to interpolate a float from Current to Target.
Target is Kismet Math Library
0.0
0.0
0.0
0.0
0.0
1.000000
0.0
|
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 |
|
Out
Exec
|
|
|
Return Value
Float
|