When this spheare hits me in the game i need it to kill me on inpact what would I type?
Listen to this tutorial to learn how to handle collisions, you will need it:
http://www.unity3dstudent.com/2010/07/beginner-b01-basic-collision-detection/
Now, when you’re handling a collision, in OnTriggerEnter()
or OnCollisionEnter()
of the script attached to the object you want to destroy, simply use:
Destroy(this.gameObject);
to destroy the object