UKismetMathLibrary::Vector_HeadingAngle

Convert a direction vector into a 'heading' angle.

Windows
MacOS
Linux

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

Syntax

static float Vector_HeadingAngle
(
    FVector A
)

Remarks

Convert a direction vector into a 'heading' angle.

Returns

'Heading' angle between +/-PI radians. 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