Ride Platform Issue

elnimijogames

  • Posts: 5
Hello. I am trying to use the 'ride platform' behaviour from Stencyl Forge. My character is hitting the platform but not moving with it.

I have updated screenshots of my various settings.

The main character, Noni belongs to the group Players and can collide with Platforms.
The Horizontal player actor belongs to the group Platforms and can collide with Players.

I attached the Ride Platform behaviour to Noni and set it up as shown in the screenshots.

The only other thing to note is that the platform also has the behaviour associated to move left and ride.

Debugging indicates that everything is being hit and the code does get to the 'Set X and Y Speed' of Platform Actor, the player just doesn't move in line with the platform

elnimijogames

  • Posts: 5
Adding some debug logs I can see the 'x' speed is always the same for platform actor and player which indicates it should be moving in line with the platform.

So, all that I can think is that it's to do with friction perhaps, or something else similar that is preventing the character from moving even though it has the same speed as the platform

« Last Edit: October 23, 2023, 12:44:03 am by elnimijogames »

elnimijogames

  • Posts: 5
I've also made friction for the platform 1.0