What is causing this weird behavior? (jittery movement on ladder)

I started climbing a ladder and the character makes a jittery movement like he’s glitched into a repeating pattern… could this be because of the feet collider?
ezgif.com-gif-maker

Hi,

Pause your game when this problem occurs. Then check the ladder collider. The ladder collider is an edge collider. The player must be touching at least one of the two vertical edges to be able to “climb”. If the gap between the two edges is too large, it might be that the player starts falling down between them. That could result in the behaviour shows in your gif.

If the gap is too large, edit the physics shape of the ladder.


See also:

1 Like

The ladder is on the Climbing tilemap, so it has a composite collider and a tilemap collider… not an edge collider…

How do you know what collider type it is? Did you look it up? Where?

The “Outline” collider is an edge collider.

I selected the Climbing Tilemap in the hierarchy and looked at the inspector and saw “Tilemap collider 2d” and “Composite Collider 2d”

image

Your ladder collider is indeed an edge collider.

See the description in the manual:

1 Like

Oh I see what you mean. Thanks for pointing that out! <3

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms