The player can through the wall , how i can solved this

Hey gys , itry to creat an fps simple game ; but when i place a building mesh ( fbx)

the player can Penetrate the wall and through it , so can spmbody help me !

i use unity 2.6.1 and use firstPersone prefap as my player .

wait for help ,

thx

when you import the FBX click on the file in the project view and check generate colliders and then it should work!

if you use character controller, you just need to add a collider to your building mesh. for doing so click on the fbx (model) file of your building in project view. then in import settings (inside inspector) check Generate colliders.

thank you gys

now i can build my level !