Thanks for the detailed answer!
I was trying to say you don't need a controller, but when I just tested it and rebind to keyboard controls, it didn't work lol (forgot I made an autodetect input method feature).
Anyway, if you're stuck because the weapon is on the opposite side of an obstacle, left click resets the weapon position.