Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/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/Classes/Kismet/KismetMathLibrary.inl |
static FRotator RInterpTo
&40;
FRotator Current,
FRotator Target,
float DeltaTime,
float InterpSpeed
&41;
Remarks
Tries to reach Target rotation based on Current rotation, giving a nice smooth feeling when rotating to Target rotation. New interpolated position
Parameters
| Name | Description |
|---|---|
| Current | Actual rotation |
| Target | Target rotation |
| DeltaTime | Time since last tick |
| InterpSpeed | Interpolation speed, if the speed given is 0, then jump to the target. |