Player with Platform Character Behavior falls when walking from a moving Jumpthru Platform to a Platform

Hello!

Using Platform Character Behavior and platforms with type “Jumpthru platform” I found a problem. When the Player try to move from the Jumpthru platform to a Platform he falls if the Jumpthru platform is moving with force at a 270 degree angle.

Steps to reproduce

  1. Create a player with Platform Character Behavior
  2. Create a platform with type “Jumpthru platform”
  3. Create an event to move the jumpthru platform with force at a 270 degree angle, like this:
    image
  4. Create an platform with type “Platform” and insert it into the scene next to the Jumpthru platform:
  5. Put player above of Jumpthru platform (scene will look like this:)
  6. Test pressing the player to move to the side (don’t press down)
  7. Player will fall when the Jumpthru platform reaches the height of the Platform, like this:
    gif

Project showing the bug

Another informations
I tried a different collision mask for player and platforms, tried with part of the Jumpthru platform inside the platform, I disabled the Jumpthru option for the player… nothing worked. So far, I haven’t found any workaround.

Edit: Project updated on ProtonDrive.

2 Likes

I found something that might be interesting. When I tried to create another project to reproduce it, I wasn’t able to. The project I shared came from my original game. Perhaps some people won’t be able to reproduce it easily, as apparently the distance traveled by the platform influences it.

Gif5

My guess is that: during the movement of the “Jumpthru platform” using force, certain distances can reach positional values ​​that, compared to the position of the “solid” platform, allow the player to move when it shouldn’t and he falls. :thinking:

Note: changing the platform speed to high values ​​like “120” allows to player walk and don’t fall.

2 Likes

could you pls try to move the origin point of your player object to middle bottom and report here again pls

also if you can record what happen after adding this to your scene

Hello, RMDB!

I moved the origin point to middle bottom:

And recorded, but the bug still happens:
giff

OK…so i guess it’s a bug…if so nice discover…
i’m too doing a platformer so better get informed

Edit: could you pls post your events…just to take a look

Its just that (I added the event you requested for testing):

And the behavior of the player (like I said before it makes no difference whether “Can go down from jumpthru platforms” is checked or not):

Sad discover, haha! I don’t know what i gonna do with some levels of my game :pleading_face:
I hope they manage to resolve it. :sparkles:

And since you mentioned that you’re also making a platformer game, there’s a “bug,” or perhaps it would be more accurate to say “limitation,” regarding jump-through platforms: Jumpthru Platform don't works sometimes

If I find a workaround, I’ll come back to this post and explain how to do it here. :v: But for now I’ll keep doing my game.

1 Like

I remember an old discussion regarding jumpthru.
I ended using platform behaviour as jumpthru disabling the behaviour when needed

1 Like

:memo: Update with Workaround

I am now even more convinced that the problem lies in the decimal numbers of the Y position of my “platform” object with Jumpthru. I did more tests and “moving” the Jumpthru platform by changing the position with integers works normally. But if I change it with decimal numbers will bug.

:face_with_monocle: So, the workaround is: use the last event like I showed in the print before to move your jumpthru platform if you got this problem. If you want it to move more slowly, you can use a variable, like this:

I will update the Project in the Proton Drive with this options.

1 Like