Box collider/Mesh collider question.

Hey guys, I have a pretty simple question I think.

My playable character is a box collider and my ground is a mesh collider. My player freaks out when its around the mesh collider. What would be the easiest way to get around this? I’m assuming it’s going to be a script related problem.

Thanks!

What do you mean by “around the mesh collider”? The mesh collider is a very freaky little component, do you really need to use it for your ground?

I meant to say on not around, and I’m using a mesh collider because there is a big hole in the middle of my ground.

To be more specific, I’m trying to create basic physics. I want one object with a higher momentum to hit an object with a lower momentum, and have the lower momentum object bounce back. When I just had a char controller and no box collider. nothing happened when I hit the other objects. I added the box collider and now they move when I hit them but my playable char is bouncing around as I move. The playable char is just a cube right now.

So you want to create a custom character controller? The I suggest to lock the rotation of your player except the Yaw rotation axis (should be the Y axis) and use a capsule collider.

Did you read the description about mesh colliders? It looks like it will create some problems under certain circumstances.

Thanks Marrrk, locking the rotation did that trick.