I finish the game making; however, as a top down game, the rotating camera truly annoys me.
I have tried adding
“”"
bUseControllerRotationPitch = false;
bUseControllerRotationYaw = false;
bUseControllerRotationRoll = false
“”"
in APawnTank::APawnTank()
It compiled successfully, but the camera still rotates.
That will be very helpful if you can help me with this problem.
Thank you very much