x


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?

more ▼

asked Dec 11 '10 at 12:33 PM

damnedinblack gravatar image

damnedinblack
11 1 1 2

You just need to make the box collider slightly bigger than the player

Dec 11 '10 at 01:27 PM Scribe

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 :|

Dec 11 '10 at 01:39 PM Jesse Anders

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.

Dec 11 '10 at 02:14 PM Statement ♦♦
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Dec 11 '10 at 01:34 PM

Statement gravatar image

Statement ♦♦
20.1k 35 70 175

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2505
x8

asked: Dec 11 '10 at 12:33 PM

Seen: 902 times

Last Updated: Dec 11 '10 at 12:33 PM