My Character Won't Jump On A Vertically Moving Platform

Discussion in 'How Can I...?' started by danabot, Nov 26, 2018.

  1. danabot

    danabot Boxer

    Joined:
    Apr 2, 2018
    Messages:
    52
    Likes Received:
    3
    I'm building a simple jump game abut when I try to have the player on a platform that is moving up, the character's jump control isn't working?
     
  2. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    Can you send us some screenshots of your setup?
     
  3. danabot

    danabot Boxer

    Joined:
    Apr 2, 2018
    Messages:
    52
    Likes Received:
    3
    Here is the character and platform setup. The character jumps correctly if the platform is not moving or if it's moving side to side. But it will not jump if the platform is moving upward or following a path. character.PNG character.PNG
     

    Attached Files:

  4. DariusGuerrero

    DariusGuerrero Avid Boxer

    Joined:
    Dec 22, 2016
    Messages:
    474
    Likes Received:
    399
    There's two possibilities.

    one, i think the platform is moving up too fast that it counters the jump. imagine being outside and on top of an elevator moving so fast you cant jump

    two, you may have to increase your ground threshold so the character can detect that it's on the ground and it can jump again
     
  5. danabot

    danabot Boxer

    Joined:
    Apr 2, 2018
    Messages:
    52
    Likes Received:
    3
    I increased the threshold and it works great. Thanks for the tip!
     
  6. DariusGuerrero

    DariusGuerrero Avid Boxer

    Joined:
    Dec 22, 2016
    Messages:
    474
    Likes Received:
    399
    I'm on a roll! You're welcome
     

Share This Page