I looked on this message board before hand, and found one topic where another user was having issues with rocket smoke staying after the rocket explodes. The answer was detach the emitter, stop the emittion, and then destroy the object after x seconds. Well I believe my code is correct, but it is not working. Will anyone please tell me what I am doing wrong, or point me in the right direction?
function OnCollisionEnter(collision : Collision) {
gameObject.particleEmitter.emit = false;
transform.DetachChildren();
Destroy (gameObject);
}