How do I make a player capsule physics aware?

I want to achieve a sliding effect. I started with the first person template and I created a physics material with a negative friction. It works perfectly fine for the boxes in the level but it doesn’t work with the player capsule.

I tried to enable “Simulate physics” for the capsule component, but then I am falling though the ground.

How do I make the player capsule “physics material” aware?