After collision, particle explosion but can't destroy
Hi
Originally I had a hero actor that when colliding with another actor got destroyed. This was fine but wanted the hero to exlode. I have used particles to create an explosion which looks ok but have now got a problem. If I use the Destroy action after the collision the particles don't generate, but if I remove Destroy I get the particles but the hero remains in tact. Is there a way to to create particles from the hero and destroy him - or is there a better way around this problem?
Thank you.
Originally I had a hero actor that when colliding with another actor got destroyed. This was fine but wanted the hero to exlode. I have used particles to create an explosion which looks ok but have now got a problem. If I use the Destroy action after the collision the particles don't generate, but if I remove Destroy I get the particles but the hero remains in tact. Is there a way to to create particles from the hero and destroy him - or is there a better way around this problem?
Thank you.
Comments
If I do this presumably the hero will continue but just be invisible, so could it still operate on other objects in the scene? If that is the case I suppose I could make it stop as well?
Thanks again for your response Tshirtbooth - I've been watching a lot of your videos - they're fantastic!
Cheers
Cheers!
I've added a self attribute to my hero called active and added extra conditions in my rules to say only work when active is true.
How and at what point do I make the attribute false - I have added a rule to say make active attribute false when colliding with the relevant actors, but this just seems to make it inactive straight away so none of the behaviours work at all.
Apologies if this is pretty basic stuff but this is my first attempt at game creation!
Thank you.
Thanks