Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Gun clipping through walls in third person shooter

$
0
0
I'm currently making a third person shooter, and I have some issues with the gun and arms of my character clipping through walls. I've noticed that in some third person shooter they draw the character and gun on top of everything else when you aim, like they do in FPS games, but rendering with multiple cameras screws up the image effects. I put up a [post][1] about it, but I never found a solution. I'm able to detect when the gun clips by putting a trigger on it, but I'm not sure how to use this information. If I move the gun then I can no detect if it will clip. Does anyone know how to avoid having the gun and arms clip through walls in a third person shooter? [1]: http://answers.unity3d.com/questions/515068/image-effects-do-not-work-when-rendering-with-mult.html

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>