How to destroy and spawn actor?
michaeln93
Member, PRO Posts: 68
My game I am collecting coins but when I put collides with player and destroy the coin doesn't appear anymore. What do I do? I want it to disappear when the player touches it but also spawn again randomly later.
Comments
Eats, shoots and leaves !
Your question is not very clear !
I am trying to create a platformer game where the player collects as many coins as he can to score points. The problem is that I want the coins to disappear when the player touches it. To do this I put a rule in the coin to be destroyed when it overlaps or collide with the player. But since the (first) coin gets destroyed, the game doesn't spawn anymore coins. So my question is how can I make the coin disappear when the player touches it but also have it spawn more?
dont have the coin spawning coins, have a different actor to spawn the coins for you.
then your problem will be solved
GSINVENTION FREE TEMPLATES
Omg it's so simple. Thank you. xD