If you are working in unity, you can simply set the box collider attached to the gun to "trigger"
ok :)