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:
    35
    Likes Received:
    2
    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:
    372
    Likes Received:
    178
    Hi you could add a "If Collide node" and a "Defeat node"
     
  3. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    35
    Likes Received:
    2
    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:
    372
    Likes Received:
    178
    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