Rendering an object over all others

Hi! I’m currently working on a FPS game but i’ve encountered a problem that many had before : my gun clips through walls. I looked into the forums and on youtube but nobody has a real efficient solution. I mainly saw people telling that you had to make a second collider or something like that but i think it would be better to just tell the camera to render my gun and the character’s arms in front of everything else. That way, even if my gun clips through a wall, it would still be entirely visible.

My problem here is that i can’t find any tutorial or info about how i can achieve that (like render layers or tags maybe?). Is there a way to setup such a thing?

You can make your character collision larger ( to cover the gun ), or you can put collision in the end of the gun ( that’s the standard UE solution ).