0 Favourites

When jumping against a wall

  • Hey folks,

    I have a problem in my progress of building a game.

    My setup is build so that the wall constantly moves from right to left. I'm using platform+ and I have jump control on.

    When my player is standing against a tall wall, and I tell it to jump, it's slides against the wall, and when it reach the top it jump all the way to the top of the screen.

    I have already tried whit out platform+ and it didn't fix my problem.

    I hope that you can help me

  • PatrickWuk

    Hey!

    Please, put a capx to make your problem easier to understand and fix.

  • PatrickWuk

    Hey!

    Please, put a capx to make your problem easier to understand and fix.

    hi i have made an example of my problem

    .

    dropbox.com/s/zb3apyg0xvx4tx7/When-jumping-against-a-wall.capx

    I don't have permission to post a link.

  • PatrickWuk

    I don't know for sure why it is happening.. I think is because when you are on the moving wall and jump colliding the square dude side with the wall side, the wall movement causes the guy slightly "penetrates" the wall. That is causing the glitch.

    Here is a workaround:

    I'm used box colliders

    Cheers

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • PatrickWuk

    I don't know for sure why it is happening.. I think is because when you are on the moving wall and jump colliding the square dude side with the wall side, the wall movement causes the guy slightly "penetrates" the wall. That is causing the glitch.

    Here is a workaround:

    I'm used box colliders

    Cheers

    Thank you, I tried it your way and it worked perfectly, but while I was fixing another problem I got this one fixed to.

    I added a picture that shows how I ended up fixing the problem

    Move speed = Bricks speed

    [attachment=0:dfu4n6ek][/attachment:dfu4n6ek]

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)