Walk on uneven ground between two sprites with physics 2?

I have a ground like this (uneven) and it is two different sprites both with physics 2.

Skärmavbild 2021-12-02 kl. 23.21.46

The player is also physics 2 and can walk to the middle but not over to the next sprite which is a little higher. Is there any setting that allows there to be bumps between two sprites and the player can walk anyway?

I faced a somewhat similar issue in my project while making a Platformer Trampoline. What I did was something like this:
Main Event
Sub Event

I get two points (not sprite points put positions) and then compare it with the point I got from the Trampoline. If the point I got from the Player was less than the Point from Trampoline, I change the Y Position of my Player.

The results:
Although the movement isn’t smooth, this is the only way that I can think of.

Another way would be to create slopes.

1 Like