hi im stuck and im wondering if anyone could help.
im absolutely useless with script .. i need and object to dissapear when it touches an object
asked Aug 20 '12 at 12:16 PM
Easy. Wherever it is that you detect the collision, put this:
If you're using the OnCollision method, you can get the object via Collision.gameObject
Haven't checked the code but this should work.
Highly suggest you go learn the basics of programming. You'll have a very hard time making a game without some fundamental knowledge.