Can You Make One Side Of A Platform Kill Character But The Top Not?

Discussion in 'Gameplay' started by Squiggz, Mar 5, 2018.

  1. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    If we have a rectangle platform is it possible to make they left side of it destroy the character but the top not kill the character so it can use it to say jump?

    If so, what is the slickest way to do this, sadly been stuck on this for a day :( I feel like im missing something so easy.
     
  2. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    I guess kind of like geometry dash
     
  3. comicsmathias

    comicsmathias Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    120
    Likes Received:
    41
    You need to use an (invisible) enemy and attach it to the platform if the platform is supposed to move. Make sure the collision shapes are lined up correctly.
     
  4. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    makes sense , but wont there be a tiny lip where it can graze and not die? and if you bring the invisible enemy to the top of the platform it will kill it on top. I provided a picture below what I mean. Can U explain best way to go about this?
    thanks again!
     

    Attached Files:

  5. jmiller8031

    jmiller8031 Avid Boxer

    Joined:
    Feb 23, 2018
    Messages:
    218
    Likes Received:
    82
    Another option would be to attach an invisible object to the character. That way you don't have to worry about adjusting for every possible platform height or shape.
     
  6. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    Thats a really good idea but my character rotates to different sides throughout the game, much like geometry dash
     

Share This Page