Camera always follows gun but with no character

I have no skeletal mesh or mesh in general for my character. I will add that late in my game, I want the gun to always follow the camera but it doesn’t when you look up or down. All the tutorials I look up require a character mesh to transform the spine bones. How do I do this without a player mesh?