Do you need Initial Yaw?
I wrote:
CurrentYaw = GetOwner() ->GetActorRotation().Yaw;
TargetYaw = CurrentYaw + 90.0f;
instead of:
InitialYaw = GetOwner()->GetActorRotation().Yaw;
CurrentYaw = InitialYaw;
TargetYaw = InitialYaw + 90.0f;
And it worked fine…Is this ok??