- Home /
Collider going through walls with box collider..
I have a peculiar problem, The main character of my game is going through invisible walls with box colliders. The problem is peculiar because everything is normal when running the game inside unite editor, but the exported game (be it exe or apk) just isn't following any physics.
Ok here are some details to the problem
1. I have invisible planes set up with box colliders around the path.
2. The player character has a capsule collider.
3. I am regularly getting the error "compute mesh inertia tensor failed" whenever I move my character.
4. Everything is fine when the game runs in the editor, the exported build just doesn't recognize the planes with box colliders.
Any help is appreciated. Thanks... I can make a detailed video of the error if anybody wants..
Answer by SunriseKingdom · May 02, 2014 at 06:51 AM
ok, so you are getting that error because you trying to use a rigid body on an open mesh collider.
So to fix this don't use rigid body with mesh colliders
Hope this help.
Hmm, actually I found I am not using any rigidbody, I think its a bug in unity, thanks for helping though.. I think I will replace those invisible walls with box colliders on other prefabs..
I have tried everything,But the problem is still there..
$$anonymous$$aybe you should try to uninstall and reinstall Unity.
Your answer
Follow this Question
Related Questions
Rigidbodies won't collide if mass difference is too high 0 Answers
How to get collisions on Character controller? 1 Answer
OnCollisionEnter isnt called when player lands on object 1 Answer
Advice for Intersecting Colliders 0 Answers
Limiting rigidbody physics influence on another rigidbody 0 Answers