- Home /
how to make a neighborhood collide able?
I modeled a small neighbor hood of houses, how would I make them collide able without having to use any of the colliers? because there is more than 1 mesh on it and I don't know how to make it all solid without haveing to make 1000000 different objects and applying a different mesh collider on them, is there an easier way to do this?
Answer by testure · Jun 24, 2011 at 05:47 AM
Without a collider, you have no collision. simple as that.
I'd recommend using a mesh collider to start with- it'd be a lot easier than going through each object and trying to assign a primitive.
Answer by Dreamblur · Jun 24, 2011 at 05:49 AM
You don't have to use mesh colliders. You can use primitive colliders and shape them as closely as possible to your meshes.
Answer by twoface262 · Jun 24, 2011 at 05:49 AM
Well thats what i was saying about the mesh collider I have like 20 different meshes on this object and unity only lets you have 1 mesh collider per object:/ is there a way I can do it with a mesh collider that allows me not to have to use 20 different meshes for it to work properly?
You're not supposed to use 20 separate meshes for a single object in the first place. If you do decide to use mesh colliders, then combine your meshes before importing them into Unity. Otherwise, just use primitive colliders shaped like your meshes like I suggested.
First of all, don't post comments as answers. It screws up search results. You can have multiple colliders per mesh, but you have to create a child gameobject for each one. There's even an obvious example in the unity docs on the page for colliders.
Your answer
Follow this Question
Related Questions
Detail Mesh doesn't collide. 2 Answers
How to destroy bullet on collision! 2 Answers
create a collider onto an fbx 1 Answer
Making textures stop bending 0 Answers