FQuat::SquadFullPath

Simpler Squad that doesn't do any checks for 'shortest distance' etc.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Quat.h

Include

#include "Math/Quat.h"

Source

/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp

Syntax

static FQuat SquadFullPath
(
    const FQuat & quat1,
    const FQuat & tang1,
    const FQuat & quat2,
    const FQuat & tang2,
    float Alpha
)

Remarks

Simpler Squad that doesn't do any checks for 'shortest distance' etc. 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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss