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 FQuat Quat_FindBetweenVectors
&40;
FVector Start,
FVector End
&41;
Remarks
Generates the 'smallest' (geodesic) rotation around a sphere between two vectors of arbitrary length. Quat that will rotate from Start to End
Parameters
| Name | Description |
|---|---|
| Start | Vector the rotation starts from |
| End | Vector the rotation ends at |