|
I'm trying to create a 3D-Walkthrough, but there occured a serious problem. I've created a model in 3d-Studio, imported it in Unity, added a Box Collider and a Player Object. Everything works fine, but sometimes when the player comes near the walls I can look through the walls what's behind them... I can't walk through the walls - that works fine. Anyone got a solution?
(comments are locked)
|
|
Your camera's near clipping plane is probably outside your character collider. Try moving your camera closer to the center or to the back of your collider, or make your collider bigger, or reduce your cameras near clipping plane.
(comments are locked)
|

I posted to your forum thread at http://forum.unity3d.com/threads/70369-problems-with-collisions-3D-Walkthrough.
You just need to make the box collider slightly bigger than the player
The answers given here are the same as the answers given in the forum thread I linked to above. The problem with cross-posting is that it causes people to duplicate their efforts. I provided the link here so that people could see what answers had already been offered, but I guess it didn't work :|
Well, I thought my answer (a mere 2 lines of text) wasn't that much of an effort, so the cross-posting doesn't mind me too much. Sorry I didn't check your link, we have very similar answers and you have a better explaination about the importance of having a "far" near clipping plane. I'll leave my answer posted as it is easy to reach with relation to the question posted here.