Object visible through wall

I have a weapon that the player is holding, but if you walk up to a wall, the weapon clips through the wall. can someone help?

Simple SeeThrough Shader

Would this help you?

It costs 5 dollars…

And it has nothing to do with the question you asked, in fact that shader is to do the opposite of what you’re asking about. That makes everything that’s behind a wall show up over it.

Though you also did not give enough information for anyone to be able to help you. Can you post a screenshot of the problem, or describe the issue more specifically? For example, is this a weapon seen from a first person view, or third person camera? Is it a 2D game? Your initial description doesn’t give any information that would let anyone know the answer to those questions, and the solutions change depending on the answer.

2 Likes