Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp |
static FTransform TInterpTo
&40;
const FTransform & Current,
const FTransform & Target,
float DeltaTime,
float InterpSpeed
&41;
Remarks
Tries to reach Target transform based on distance from Current position, giving a nice smooth feeling when tracking a position. New interpolated transform
Parameters
Name | Description |
---|---|
Current | Actual transform |
Target | Target transform |
DeltaTime | Time since last tick |
InterpSpeed | Interpolation speed, if the speed given is 0, then jump to the target. |