Do I need Initial Yaw?

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??

2 Likes

You will need InitialYaw, for the close function of the door. :slight_smile: I thought along the same lines at first.

3 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms