Is It Possible To Turn The Ground Into A Death Plane?

Discussion in 'How Can I...?' started by DBL, Aug 6, 2021.

  1. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    I want the player character to die when it falls off a platform and hits the ground below, but I haven't found a way to make hitting the ground fatal.

    I've added an "enemy" to just above the ground, and it generally works, but it feels like an inelegant solution.

    Thank you.
     
  2. Leighton

    Leighton Avid Boxer

    Joined:
    Jan 31, 2018
    Messages:
    373
    Likes Received:
    182
    Hi you could add a "If Collide node" and a "Defeat node"
     
  3. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    Good idea. But I see no way to add a node, like I can to a normal asset.
     
  4. Leighton

    Leighton Avid Boxer

    Joined:
    Jan 31, 2018
    Messages:
    373
    Likes Received:
    182
    Sorry for the late reply.
    You can add a "Plane Object" and stretch it to where you want the plane to be defeated.
    Inside the plane you could add a "If Collide node " then a "Send Node"
    Inside the player add a "Receive Node" and add the defeat node if it collides with the plane object.
    Also inside the plane, remove the 3D Model or just disconnect it to make it invisible :)
     

Share This Page