FVector::HeadingAngle

Convert a direction vector into a 'heading' angle.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

float HeadingAngle() const

Remarks

Convert a direction vector into a 'heading' angle.

Returns

'Heading' angle between +/-PI. 0 is pointing down +X.

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