Search Unity

Collision To Destroy Object?

Discussion in 'Scripting' started by JVGameDev, Mar 30, 2017.

  1. JVGameDev

    JVGameDev

    Joined:
    Oct 5, 2015
    Posts:
    137
    Hi! I was wondering what collision event I should use to destroy an object? I want it to be that when the player hits the cube, it triggers a collision, and destroys the cube?
     
  2. Ian094

    Ian094

    Joined:
    Jun 20, 2013
    Posts:
    1,548