Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include |
#include "Kismet/KismetMathLibrary.h" |
Source |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
Tries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a position.
New interpolated position
Parameter |
Description |
---|---|
Current |
Actual position |
Target |
Target position |
DeltaTime |
Time since last tick |
InterpSpeed |
Interpolation speed, if the speed given is 0, then jump to the target. |