Another Way

Hello everybody,

I know that there is nothing wrong and there are many ways to achieve the same goal, but I would like to understand if I am wrong, in addition to the two methods you have proposed by reading the official documentation I have also read the Add method:

float RotazionePorta = 90.f;
FRotator PosizionePortaAperta = GetOwner()->GetActorRotation().Add(0,RotazionePorta,0);
GetOwner()->SetActorRotation(PosizionePortaAperta);

is it another way, am I wrong? :slight_smile:

That should be correct.

1 Like

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

Privacy & Terms