In the scene I have a capsule with a camera parented and a looking script so when I look down or up the weapon slightly moves forward and then moves back when I look straight forward.
weapon when I look up or down-
and heres how it looks normally when I look straight forward-
Anyone knows how I can fix that?
EDIT: Here's how it looks in scene view


