Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Destructible Prop Detecting Collision?

Discussion in 'FPS.Sample Game' started by Stexe, Apr 2, 2019.

  1. Stexe


    Feb 2, 2014
    I'm trying to get the destructible props to explode (or set health to 0) when a certain collision is detected based on a tag. Can't figure out how to do it with the current script, since it is instead looking for player team flags and colliders that provide damage (bullets and stuff).

    Any idea how to set that up so it works regardless if something would damage it or not?