Good day gentlemen. I have constructed a very standard lock-on system, which my character will face towards the enemy. However, I only want my character to face towards the enemy, and my camera can still freely move. I don’t want my camera to be locked to the front as well. How can I do that?
Hey there @herohana! So your camera’s spring arm has these settings on it:
If you have Use Pawn Control Rotation on, it will follow the Pawn control rotation (what you’re sending to your pawn in your lockon script). If it inherits Pitch, Yaw, or Roll, it will take those from your pawn itself instead of the control rotation.
You’d have to choose to disable pawn control rotation in this and control where you want the camera to point manually, or turn the player pawn a different method than pawn control rotation.