Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQuat
Description
Given start and end quaternions of quat1 and quat2, and tangents at those points tang1 and tang2, calculate the point at Alpha (between 0 and 1) between them. Result is normalized. This will correct alignment by ensuring that the shortest path is taken.
| Name | Squad |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static TQuat < T > Squad
(
const TQuat < T > & quat1,
const TQuat < T > & tang1,
const TQuat < T > & quat2,
const TQuat < T > & tang2,
T Alpha
)