How to prevent the character from doing this "climb" thing

The player character is doing some kind of infinity climbing whenever a steep slope is presented.
Things I have tried to fix this:

  1. Changed the humanoid’s maxSloopAngle
  2. Disabled the climbing state char.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)
  3. I tried playing around with custom physical properties in HumanoidRootPart

None of these options had any effect on this, so I’m quite lost. And btw, even just 1 jump is enough to do this climb, so although jump has no cooldown - it doesn’t seem to be the issue.
(warning: loud)

2 Likes

extra info: if the slope is 90 degrees, then it just climbs a little, but still more than a normal jump should be

  • Is the character just walking to the slope, or are you jumping as well. Your post mentions both but wasn’t really clear about it.
  • What numbers have you tried setting the max slope angle to?
  • Is this a custom rig or a standard Humanoid rig?

This may be started because of the small intial slope of the Terrain being about 45°.

Is there any difference when you try it against a 90 degree Part instead of Terrain?

1 Like

I am peforming a jump yes. You can hear when it happens when the “yip” sound plays.

I have set it to 50-89 degrees (currently 60).

A standard r6 rig with a head that has a brick mesh as you can see.

Yes, it also has the same effect on parts. When I jump into a 90 degree part, it increases the jump height like with terrain

it is also easier to do when sprinting (higher walkSpeed), and it can also be done backwards
it also happens with my character from roblox itself. Indicating that this is default behaviour?

Did you find a way to solve this yet?

1 Like

Well I probably did, but can’t remember sadly.
Sorry. I haven’t tested it with my new game project, which uses a similar character. So if I run into the same issue I’ll post here.

I ran into the issue again, and… unfortunately I do not have a solution.
I’m assuming this weird interaction is an oversight by the Roblox physics department.

Hopefully I or someone else can find a solution some day.

All we can do for now is to structure our terrain around the glitch.

Damn that’s unfortunate, thank you for the reply though :pray:

I just sized the specific parts just so that they don’t start to auto climb, but now they are slightly to big which is a bit annoying, so I just put that project on hold unfortunately.

1 Like

Technically what’s happening in the footage isn’t climbing, which is why disabling the climbing HumanoidStateType doesn’t affect the behavior. Climbing occurs when your character walks into a surface with approximately 0.5-1 stud gaps—whereas this terrain is a smooth surface.

Let me know if this helps. This controls how steep an angle a player can travel up.

@syntaxRaffa check out that link as well

I’m confused.
That’s just a link to MaxSloopAngle.

Yeah. Select your Humanoid then scroll until you see the property MaxSlopeAngle. Once you find it, try making it something extremely low, like say, 20. Then see if the problem is fixed. If so, then incrementally raise it until it’s just right. My thought is that 40-50-ish may work well in your case.

They’ve already posted what they tried in the answer to my question in December.

Ah, I see I hadn’t read the post thoroughly. Yeah, since the issue is with jumping I see why changing the MaxSlopeAngle doesn’t help