Landmine Kill

Discussion in 'How Can I...?' started by patostar, Apr 4, 2019.

  1. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    483
    Likes Received:
    86
    There is a landmine on a platform, if the character touches the landmine it will explode after like 2 seconds, so the character has enough time to go away before it explodes, but if the character stays on it or beside it he will die after it explodes, how can I make it this way?
     
  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    Make the explosive animation or whatever it is you use, collision shape larger than normal covering the area you wish.
     
  3. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    483
    Likes Received:
    86
    Yes but if I set the landmine as Enemy, and when the character touches it the character will immediately die, I don't want it this way, I want character dies only if the landmine exploded. I don't know how to do this.
     
  4. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    create a new enemy animation as the explosion and place it in the death animation for the mine with the larger radius.
     
    patostar likes this.
  5. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    483
    Likes Received:
    86
    Oh thanks great idea, I will try to do it and see if it works :)
     

Share This Page