- Home /
can someone come up with a script that makes a game object explode and destroy itself on impact with the first person controller
can someone come up with a script that makes a game object explode and destroy itself on impact with the first person controller?
Did you just post the same thing in the title as in the question? Bad move, bad bad move.
We are not here to write your code for you. Do some basic research (eg, google)- this is not exactly a special case operation and I'm sure you'll be able to find several candidate scripts which will do exactly what you want.
Better still, actually learn some basic code! Something like this is not hard. It's a good place to start, and if you want to do any serious work in Unity you'll have to learn at some point.
Answer by BerggreenDK · Nov 02, 2011 at 12:24 PM
I think you should go and check out this free website for Unity beginners.
http://www.unity3dstudent.com/
Its full of great examples and I believe once you have seen most of them, you might have the answer yourself - or at least most of the answer.
Then when you have written some code yourself and understood what it does, then ask us here again and we will try and fix your code (if its minor details).
We are not here to write your code for you. But I have a Paypal account if you want to pay me for spending my time on your project? Just to be warned: its money in advance! :o)
That'd basically be my dream job. To do what I do here every day, and get paid for it.
Answer by henry96 · Nov 02, 2011 at 01:18 PM
You can check out Tornado Twins tutorial . I think it will be useful. And it is one of a great place to start with.