How do I achieve capsule collider?

What do you want to achieve?
A capsule collider so player can’t stand on slopes and just slide

What solutions have you tried so far?
I tried searching on roblox forum

I tried to draw what I want

Just trying to make movement like “Games Unite Testing Place” and I think that It uses capsule collider to slide down the slopes

I actually tried making It but I don’t like how It bounces when I jump:

Any help will be appreciated!

1 Like

If the only thing you’re looking for is the player sliding off a slope, you can lower the Humanoid’s MaxSlopeAngle. By default, its at 89, lowering it will make the Humanoid not be able to climb slopes that are angled at a lower degree than what it’s specified at.

Though technically not a capsule collider, it should mimic what you want.

2 Likes

you need to modify the custom physical properties → friction = 0, elasticity = 0, friction weight = 100, elasticity weight = 100

so that it doesn’t bounce

I would also vouch for @iATtaCk_Noobsi’s answer, but if you want more customisability, I would raycast to the ground and get the normal of the surface, then calculate the angle of degree to force the slide.

Another question, are you sure that a capsule collider supposed to be this big? Typically you would leave some space between the legs so that you can climb up slopes (like stairs)

1 Like