VInterp To

VInterp To

Tries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a position.

Target is Kismet Math Library

VInterp To
Current
X0
Y 0
Z 0
Target
X0
Y 0
Z 0
Delta Time
Interp Speed
Return Value
X0
Y 0
Z 0

Inputs

Current
Vector

Actual position

Target
Vector

Target position

Delta Time
Float (single-precision)

Time since last tick

Interp Speed
Float (single-precision)

Interpolation speed, if the speed given is 0, then jump to the target.

Outputs

Return Value
Vector

New interpolated position

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel