Indestructible Enemies? Such As Water, Spikes, Saws?

Discussion in 'How Can I...?' started by FrankNagy, Sep 4, 2016.

  1. FrankNagy

    FrankNagy Boxer

    Joined:
    Sep 3, 2016
    Messages:
    30
    Likes Received:
    1
    Indestructible Enemies? Such as Water, Spikes, Saws?


    Was wondering how you make Obstacles that can't be Destroyed with Projectiles and such.


    I figured out a temporary fix for Water, Where It spawns 0~0 Spawn action permanent.
    Which causes Severe Lag :(
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    select your item in the assets panel to the far left... this will reveal the objects global options in the options panel to the far right...

    at the bottom of the options panel, add a component... health... give your object 99999 health...

    by default, all objects have one health, so if your character has a damage component, it will kill on contact
     
    FrankNagy likes this.
  3. FrankNagy

    FrankNagy Boxer

    Joined:
    Sep 3, 2016
    Messages:
    30
    Likes Received:
    1
    Nice thanks! Now my game is pretty much complete thanks to you :)
     

Share This Page