Tile that kills character only from side collision..

Discussion in 'How Can I...?' started by reactiongamingx, Jan 25, 2016.

  1. reactiongamingx

    reactiongamingx Boxer

    Joined:
    Jan 20, 2016
    Messages:
    2
    Likes Received:
    0
    I have tiles in my game, that if the character hits the left side of them, it should kill him, but if he jumps on top of the platform, he should survive.

    How can I implement this?? Thanks... :D
     
  2. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    It's not possible using just one object. However, you could use two separate objects, a larger one set as an enemy and a smaller thin one as a platform and layer them.
     

Share This Page