how to stop my player walking througth objects

how do i stop my player walking thougth my objects ive made?

E.g like ive made a house and the player can walk rigth throught it

Sounds like you need to add colliders to you meshes.

Select it in the project view and then look at the inspector, you should see import settings. Check the generate colliders box and hit accept.

Regards,
Matt.

thank you matt