Vector 2DInterp To

Vector 2DInterp To

Windows
MacOS
Linux

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

Target is Kismet Math Library

Vector 2DInterp To
Current
X0.0
Y0.0
Target
X0.0
Y0.0
Delta Time
0.0
Interp Speed
0.0
Return Value
X0.0
Y0.0

Inputs

Current
Vector 2D Structure

Actual position

Target
Vector 2D Structure

Target position

Delta Time
Float

Time since last tick

Interp Speed
Float

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

Outputs

Return Value
Vector 2D Structure

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
Dismiss