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
Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback