Video shows the problem
I am working on a gun turret game. The turret should rotate based on the rotation of the camera’s view, all is done perfectly. I am using FInterpTo to make the rotation smooth.
The problem is: Unfortunately, unexpected something else has done, When the rotation arrives at 180, the rotation will be reflected. I tried a lot and a lot to solve this problem but without any results. If anyone had the same problem, I hope to help me.
The blueprint of Turret Rotation with FInterp function
(Yaw rotation) variable represents the value of turret rotation