Hi Everyone,
I have an helicopter. For a game I’d like to destroy that object when it collides with anything. It should be blasted first, later on it has to be destroyed. Please tell me a way to get it done. I will have to apply some animation. but only for the blasting , i am asking.
- Check collision with OnCollisionEnter(Collision collision) in helicopter rootnode
- Enable explosion particles attached to helicopter
- Start timing; with Time.deltaTime (add it to a float which is initialized at zero)
- At certain time (say > 10.0f) destroy helicopter rootnode