Character going through meshes with colide.

hello this is my first time trying to do a 3ed person sidescroller game. Im having an issue with my character going through meshes horizontally, but when i jump on top of the mesh the colider works fine. just trying to figure out whats going on.

Thanks.

Posting code helps... but my guess you're moving your character by modifying the transform.

To have physics work, you have to use the controller.move() function (or add a force)