- Home /
My Character Controller passes through walls of my imported assets from Google Sketchup,how do I resolve it?
My imported asset is a building wherein it came from Google Sketchup Pro. I imported my building in pieces because it would not import itself as a whole.(I lack some RAM but it imports itself when I does it by part)
Anyways, I'm using the default the character controller defined in the Unity Assets. The character controller doesn't fall off the ground but when it starts to walk would go across the walls and the furniture inside my building and it doesn't look nice if that would happen on the exe file of course.
I am a pure beginner here and I do not know the exact terms used in the things at my hierarchy. My walls had been named as "Mesh2597" and since I do not know what to do I placed a mesh collider in it to try if my character won't pass through it,but still it passed through. I also added a rigid body? But I think it doesn't make any sense at all.
So could anyone please help me?
"sketch up" is not suitable for use in video game engineering, this question comes up frequently.
you will need to learn to use Blender, Cheetah3D, $$anonymous$$aya or the like, or buy professional models
I'm sorry for the late response, but I'm just a student. And it's not a game.. It is just a simple navigation program that I'd like to attach in my system to be its (somehow) main feature.. But thanks for the suggestions anyway.. :)
"sketch up" is not suitable for use with Unity3d. It is not suitable fr use in the small project you describe. this question comes up frequently, search here for many discussion.
you will need to learn to use Blender, Cheetah3D, $$anonymous$$aya or the like, to create the "3D models" for the small project you describe.
Well honestly speaking at this point of time. I've got no choice. $$anonymous$$y model is not just something that I could repeat all over again using Blender, $$anonymous$$aya or what so ever. Because I have deadline on this project and I have to be able to initialize its testing before the end of this month.. :)
Answer by Imankit · Jan 21, 2013 at 07:20 AM
Tick the Convex part in MeshCollider in inspector... Enjoy.. :)
sorry, I can't understand? What mesh collider? Is it the one on my every model?
Thanks for your suggestion, it worked! Unfortunately I had to do it on every part of my furniture (I guess).. But thank you very much..
Please mark this answer as answered and like this if this was helpful to u..
I have the same problem, i need the object turn my character. But he's going to a free fall
Answer by xhybridxreflex · Jan 21, 2013 at 08:06 AM
This is very simple to solve. Go ahead and click on the object that is in the assets folder (NOT ALREADY IN THE SCENE) and then click generate colliders and then scroll down and click apply. This should apply for all the models already in the scene and it'll work fine
Thank you. I'm currently applying your (suggestion) answer onto my model..
Hi, I did what you said. I clicked on my asset at the assets folder, and checked the checkbox which says "Generate Colliders". But it's still the same.. It still passes through the walls and the furniture... Any other suggestions?
After going through many articles and tips of adding different colliders, your answer was by far the only one that helped me! So easy and quick too! THAN$$anonymous$$ YOU THAN$$anonymous$$ YOU!