I try to make AI shoot and face to a moving ball in my game, SetControlRotation didn’t work as I expected, AI still faces its own direction of movement, and the gun in AI hands too, but the bullet flew towards the target at an abnormal angle.
I know SetFocus maybe make it right, but it won’t change pitch when the target is not pawn, I don’t know why epic set this trap.
So, Any one know Why SetControlRotation didn’t turn AI charactor to the moving ball?