I’m making a player controlled cannon, I’ve combined the cannon base and barrel mesh together.
The player can controll the yaw and pitch of the cannon, the problem is that when you rotate the cannon the barrels pitch rotation gets funky, see the video. The barrel is a child of the base
The problem is that you do not take into account the orientation of the base. Add the canon as a child of the base and use the node AddRelativeRotation or AddLocalRotation. Cant remember the name of the node right now.