First person player like battlefield / call of duty

Hello everyone

I am making a fps game and i noticed that my gun is entering other objects like this[34394-screen+shot+2014-10-27+at+6.47.04+pm.png|34394]

(background is water)

i think that dice makes a extra camera for just the player so the objects dont enter other objects, maybe not but if anyone has any idea how to fix this issue would be awesome. it would be awesome too if the resolution works for multiplayer.

thanks in advance skullbeats1 (sorry for the confusion)

Yes, you can accomplish this by displaying the weapons on a separate layer and having a different camera with a different depth. Apply a second camera and have it ONLY display the layer that the weapons are on. Then, make your main camera show all layers except the weapons. As long as the second camera overlays the main camera, you’ll be golden. (Otherwise, your weapons will be invisible.)

You can go and check out this video on youtube it helped me understand! 024-HyperShadeTutorials - Unity 3D Preventing Gun From Going Through Walls - YouTube