I am new to UE4 and have been learning it in University and my spare time.
I’m making a project where the player controls the tank, I have been using this tutorial thus far:
Unfortunately he doesn’t finish the part where the camera’s pitch is restricted, so the turret can rotate a full 360 degrees.
I have already searched and attempted multiple solutions, but to no avail, so I’m hoping someone can help me with my specific problem.
I know I need to clamp the min and max values of the pitch, but have no idea where to start here, any clamp that I have added myself does nothing for me.
Below is what I currently have, as per the tutorial:
And here is the view port for the blueprint, I have two cameras, that switch from third to first person when the space bar is pressed, this is working.
Thanks in advance!