Alternative of assigning yaw value to 90.0f

This is what I thought of Rotating an actor with code challenge.

Code :slight_smile:

FRotator CurrentYawRotation = GetOwner()->GetActorRotation();
CurrentYawRotation .Yaw += 90.0f;
GetOwner()->SetActorRotation(FRotator);

Privacy & Terms