Trying to make a simple space shooter. Just to learn and test some stuff.
Silly question really I want to play an explosion effect when missile collides with asteroid but when I mention in the event manager that asteroid / missile both disappear when they collide against each other the effect isn’t being played due to the asteroid already disapearing according to the system logic / mechanics.
How can I make the asteroid disappear upon collision with missile but still play explosion effect while vanishing?
Any advice would be extremely appreciated!