Hello, I have a Pawn and for rotate it i use this code:
in Tick:
FRotator NewRotation = GetActorRotation();
NewRotation.Yaw += CameraInput.X * YawSpeed;
SetActorRotation(NewRotation);
and everything works well.
If I use the same exact code with a Character it doesn’t work anymore.
GetActorRotation().Yaw is always 0 and i can’t rotate (i can but the character return instantly to the initial position)
How can i correct it?
Any help is appreciated, thanks.