- Home /
House has no colliders?
Okay, so i made a house in sketchup but when i export it to unity it has no collisions, i can walk through the house and floor and it's like it has no walls, however, i tried adding box collider, but then i can't enter the house because it's "box" and how can i make it has collisions? This is a bit annoying :P I also tried in inspector apply collisions but seems there are no buttons like that. Anyone help/know what's the problem?
SCREEN:
Answer by DevMerlin · Jun 03, 2013 at 01:04 PM
You'll need to separate the house into individual rooms and pieces, and probably apply a mesh collider. Unity won't automatically generate a perfect collider, this is one thing you have to define yourself.
Oh, well you see, when i go to house object, and open the extend there are lot of objects, do i need to put the collider on all the objects?
Everywhere that you want to place a wall or a floor, yes. I recommend using box colliders over mesh colliders for walls and floors, anywhere that is a straight rectangle or square.
Answer by RANDOMDEVELOPER2313 · May 05 at 08:46 AM
I TRIED TO MAKE A HELLO NEIGHBOR FANGAME BUT THE HOUSES DONT COLLIDE
Your answer
![](https://koobas.hobune.stream/wayback/20220613103432im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
physics.OverlapSphere colliders 1 Answer
Problem with multiple colliders in a trigger 2 Answers
why isn't OnCollisionEnter called? 2 Answers
Collider population and animation events 0 Answers
Slenderman script problem 5 Answers