Maintain momentum on button down, overlapping object?

  • I'm trying to achieve a "grind" effect when a skateboarder or rollerblader slides along a rail or edge of something.

    I'm guessing that my player object would need to be overlapping the edge or rail and then hit an action button to start the effect. I'm having a hard time figuring out in my mind how I would set the players position back to meet up with the rail appropriately and maintain their original speed and direction though. I'd like it so they could go left or right on the rail, so the speed and direction they'd maintain would have to be whatever speed and direction they were already traveling at before they started the effect.

    Does this make sense? thoughts?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)