Customized Collision Mesh Generation

Hi,

I want to make a 3D game with only two-dimensional movement but my character keeps sliding to the front of the camera when falling because of the sloped colliders.

My idea to fix this after some failed attempts to tick boxes in the movement component is to adjust the collision meshes of the assets I use so they look somethink like this:

Is there an easy way to generate this kind of collision meshes from the assets I have, or is this a dumb idea and there is an easy way to lock the character movement to two axis?

I am thankful for any help!