FQuat::FindBetweenVectors

Generates the 'smallest' (geodesic) rotation between two vectors of arbitrary length.

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 FindBetweenVectors
(
    const FVector & Vector1,
    const FVector & Vector2
)

Remarks

Generates the 'smallest' (geodesic) rotation between two vectors of arbitrary length.

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