Question by
mstyphoon12 · May 10, 2020 at 02:18 PM ·
first-person-controllerinterfaceclippingfirst person shooter
First person elements clipping with world objects
I have an object in my world which is designed as an interface for the first person player, here it is in action:
The problem is when I am too close to world geometry, the object clips into it:
Is there any way I can make it so that this object is always rendered over all other objects? right now it is just an object in the world. I know this is not how first person elements are done in games like Portal and Team Fortress 2, and have been struggling to find an explanation of how to do this online. Does anyone have any recommendations?
problem1.png
(117.6 kB)
problem2.png
(96.1 kB)
Comment
Best Answer
Answer by mstyphoon12 · May 10, 2020 at 02:31 PM
https://answers.unity.com/questions/41298/fps-gun-clippes-through-walls.html
this gave me the answer :)