Mesh collider different from actual model mesh?

3306749--256663--wrong_mesh_collider.jpg
Hi there! Im trying to figure out how to make the collider mesh actually fit the mesh of the real model I made in Blender. I dont want my character to be able to walk up to the sides of the small ramps at the front and back.

3306749--256664--wrong_mesh_collider_2.jpg
Another problem I have is when adding a mesh collider i cannot make my character walk trough the hole of this ramp as well since there are lines at the bottom it pretty much is blocked.

I’m quite new to unity and 3D modelling so some explanation would be very much appreciated…

Uncheck the parameter “Convex” in the Collider inspector.

Typically you will be using “Convex” in dynamic objects (those that contain a Rigidbody) and non-convex in static elements.

Thanks for your reply! I tried unchecking the convex parameter before. But thanks to you realized now that my object had a rigidbody! Removing the rigidbody and unchecking the convex parameter solved my problem :slight_smile:

Thanks again!

1 Like