Search Unity

how can i set up a collision ?

Discussion in 'Editor & General Support' started by maximmolek785439, Dec 17, 2021.

  1. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    hi i need to know how i can collide at a certain strength, for example if it exceeds the power by more than 10 so the object will be destroyed?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,686
    Definitely start where the good information is: Google.

    Screen Shot 2021-12-17 at 1.10.17 PM.png


    After you understand how collisions work, look into health and damage:

    Screen Shot 2021-12-17 at 1.11.29 PM.png

    There's no magic here, it's all waiting for you to learn online already.
     

    Attached Files: