{ }Blueprint → C++

Unreal Engine 5 · Blueprint → C++

Get Actor Forward, Right and Up Vector in Unreal Engine 5 C++UE Docs

The Blueprint Get Actor Forward, Right, and Up Vector nodes map to GetActorForwardVector(), GetActorRightVector(), and GetActorUpVector() in C++. Each returns a unit FVector along the actor's local axes.

Blueprint node & C++ equivalent

C++
FVector Forward = GetActorForwardVector();
FVector Right   = GetActorRightVector();
FVector Up      = GetActorUpVector();

What do the forward, right, and up vector nodes do?

These nodes return normalized direction vectors derived from the actor's current rotation. Forward is the actor's local X axis, Right is the local Y axis, and Up is the local Z axis, all expressed in world space. In C++ they are GetActorForwardVector, GetActorRightVector, and GetActorUpVector.

How to use them in C++

Read them with FVector Forward = GetActorForwardVector();, FVector Right = GetActorRightVector();, and FVector Up = GetActorUpVector();. Each is already normalized to unit length, so multiply by a speed or distance to move or trace along that direction. They are commonly used for movement input, firing traces, and applying directional forces.

Frequently asked questions

Are GetActorForwardVector results normalized in UE5?+

Yes. They return unit-length FVectors, so you can multiply directly by a scalar distance or speed.

Which axis is the forward vector in Unreal Engine 5?+

Forward corresponds to the actor's local X axis. Right is the local Y axis and Up is the local Z axis, all transformed into world space.

Related AActor nodes

View all AActor nodes →