Humanoid attempts to walk up or down "stairs" when it shouldn't

When a humanoid walks into a wall it will either attempt to walk up or walk down, by floating or sinking, when in reality it shouldn’t because it is walking into a wall. This behavior applies to both R15 and R6 rig types.

I suspect that the humanoid must be seeing a potential staircase so it begins to ascend or descend accordingly, but it shouldn’t because there is an undeniable wall in the way.

image

image

This bug has occurred for as long as I can remember, for the past few years at the very least. As for how often this occurs, it isn’t uncommon to experience this floating or sinking behavior because all it requires is this simple part configuration of a wall on top of a floor or vice versa.

Place file: HumanoidRepro.rbxl (32.6 KB)

16 Likes

This might be interesting to try to explain.

What’s probably happening is that when the humanoid shoots out multiple rays to find the position of the ground it decides the ground height based on the average of all the rays that hit something. When you stand against the green wall some of these rays will start from within the green wall and hit the top of the blue floor, causing the average ground height to raise above the height of the baseplate. The same thing happens when standing against the red wall.

2 Likes

Thanks for the report! We’ve filed this internally and we’ll follow up here when we have an update for you.

3 Likes