Prevent object from clipping other objects?

I have this weapon model and want it to stay on top of everything else to avoid objects intersecting it. Is there a simple solution for this?


First solution use mesh.renderOrder=-1;
Second solution is using raycating. If ray from weapon intersects another mesh, then rotate weapon to left and down.