Damage / Health (mario Style)

Discussion in 'How Can I...?' started by kodagames, Mar 19, 2017.

  1. kodagames

    kodagames Avid Boxer

    Joined:
    Oct 11, 2015
    Messages:
    294
    Likes Received:
    115
    I would like to have my character bounce into an upper level object (like a mario brick) then the object gets destroyed.

    I don't know what I'm doing wrong? How can I fix this so it works lol? This is what I have:

    Player: Has a Damage component set to 2
    Brick (Object): Health component set to 1, (In the scene I've tried setting the preset to Enemy and Destroy Type to "Destroy Enemy" but it does nothing if I switch the Destroy Type to Destroy All or Destroy Character
    of course the character dies but I just want to destroy the brick. I even added a Taking Damage Anim to the brick to see if visually something is happening but nothing happens.

    Im definitely doing something wrong and need help.
     

Share This Page