- Home /
Problems with 3D-Walkthrough
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?
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 $$anonymous$$d 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.
Answer by Statement · Dec 11, 2010 at 01:34 PM
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.
Your answer
Follow this Question
Related Questions
Vertical collider mesh help 1 Answer
Unity detecting collision without touching 1 Answer
chronological order of collision to give a winner unity 2d 4.3 1 Answer
Collision detection with raycast 1 Answer
OnCollisionExit not being called 0 Answers