- Home /
Physics question
I made a crate with separate planks, each with a rigid-body and box collider(there are no physics joints yet). For some reason, the planks slide in one direction as if there is a constant force. What could cause this to happen?
When the create hits the ground and you replace it by small pieces, do you apply any forces to it? If yes, could you post the code?
I do eventually plan on having the planks replace the crate, but as it sits now it's just the planks, no scripting involved.
Try putting the splinters in their own layer and removing their interaction with each other (via layer). Also, check if your ground is perfectly parallel to the xz-plane. $$anonymous$$ost likely, you've already checked that, but it doesn't hurt to give it a double-check.
Answer by electricsauce · Oct 01, 2012 at 05:05 PM
It turns out that the floor sections had a rigidbody on them. This in itself shouldn't cause the problems I was having, so I kept looking. It turns out that Blender's fbx exporter gives all meshes an animation by default. I don't think it plays well with rigidbodys in Unity.
Your answer
Follow this Question
Related Questions
My object falls through terrain. 8 Answers
Character Controller Pushes Car With Wheel Colliders? 0 Answers
Player keeps bouncing off the walls 2 Answers
How to setup character Collisions? 2 Answers