Objects- Walking through walls

Hello All,

Ive noticed something very strange:

If I import a building model into unity from maya with rooms and halways,etc…, there seems to always be a glitch.

If my FirstPerson Camera faces a wall it may not be visible from an angle that Im standing. If a wall is not visible from a certain angle I can then walk through it.

If I turn around inside the scene to make the wall visible then I can run into it and there is finally I guess a mesh collider that doen’t let me walk through it. Which is what I want.

Does anyone know why this is?

I wish it would work a little better so that all of my scenes walls, halways, rooms were “visible at all angles” this way the game character (firstPerson Camera) can’t walk through walls or even worse get stuck in-between them.

Is there anyway around this problem?

Sincerely,
Michael

If its invisible and / or you can walk through it, its because the surface normal is facing the wrong way.

So select the face and somewhere in the modelling menu set is an option for reversing normals.

If its a building for eg with interior and exterior walls, you really need two surfaces- one for each.

HTH
AC

Thank you Targos,

I will reverse the normals and try it out.

Come to think of it it sure sounds logical. When I model a character I always make sure the normals are facing the right way. Alrighty

Michael