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 FVector Vector_SlerpVectorToDirection
&40;
FVector Vector,
FVector Direction,
double Alpha
&41;
Remarks
Interpolate from a vector to the direction of another vector along a spherical path. Vector after interpolating between Vector and Direction along a spherical path. The magnitude will remain the length of the starting vector.
Parameters
| Name | Description |
|---|---|
| Vector | Vector we interpolate from |
| Direction | Target direction we interpolate to |
| Alpha | interpolation amount, usually between 0-1 |