Unity Space Shooter – Chapter 10 – asteroid collision

Asteroid continued  – Now add pretty explosions including the fatal player collision.

Expand on the collision script…

To make it blow up by spawning an explosion

Using tag to identify Player,  and have it blow up

 

 

Then reuse the Movement code by dragging and dropping it onto the Asteroid. then setting speed in negative direction.