Bug with vertical platforms

In the topic: How to fix the player on vertical moving platforms

Here is a link: (How to fix the player on vertical moving platforms)

I was having an issue with it, when a moving platform is going up, the player is inside the platform by a little bit, and when it is going down, the player is above the platform by a little bit too.

I’ve used the rectangular movement behavior, tweens, forces, and the top-down movement behaviors but it still happens.

A temp fix for it is to change the animation and change the collision mask to match when it is going down or up.

2 Likes

If you are already using a rectangular movement behavior, it is possible that the player’s collision handling is not optimized for mobile platforms. There is a specific behavior for mobile platforms in engines like GDevelop or other game engines that avoids these problems. This behavior takes into account the vertical or horizontal movement of the platform and adjusts the collision with the player correctly.

I use the PC version (Desktop) by the way.