FRotator GetNormalized()

Hi Guys
I think i managed solve this problem with wrong turret roation by simply…

DeltaRotation.GetNormalized();

It works for me… but the problem is i actually cant explain how i solve it?

Can somebody explain it?

1 Like

in FRotator::GetNormalized API doc, we can read

Create a copy of this rotator and normalize, removes all winding and creates the “shortest route” rotation.
Normalized copy of this rotator
so that’s not so strange that it has solved our problem because that’s what we wanted to do.

I guess that this function just takes the absolute value of the angle.