Actors stop spawning
Greetings Gamesalad!
I am new to the forums and the application, so I ask that you bare with me. So I've looked at multiple tutorials and I've replicated many however the one I am struggling with at the moment is the 'Spawning Random Actors in Random Locations..."
I have several blocks falling from the top of the iPhone and they spawn at regular time intervals. However, after about 3 seconds or so, they stop spawning.
What is the cause of this?
Thanks,
Blackmill
I am new to the forums and the application, so I ask that you bare with me. So I've looked at multiple tutorials and I've replicated many however the one I am struggling with at the moment is the 'Spawning Random Actors in Random Locations..."
I have several blocks falling from the top of the iPhone and they spawn at regular time intervals. However, after about 3 seconds or so, they stop spawning.
What is the cause of this?
Thanks,
Blackmill
Best Answers
-
Jrnhubbard
Posts: 2
Hi Blackmill,
Im having the same issue, i've been following a video;
as a tutorial, its really helpful, but I've come up with the same issue. After about 3 seconds the spawning of the blocks stops.
In the video he also forgets to mention that you have to turn gravity up to make them fall (500 is normally a good number to plug in)
I hope someone can help us with this issue.
Ilford
-
jonmulcahy Posts: 10,408
I'm guessing your spawner was falling with gravity and getting destroyed after 3 seconds. Your fix will work, but you could have also unchecked moveable.
Answers
That's the attributes given to my 'Spawner' actor. All the rules are the same (bar the fact when it's a different number, a different coloured block is produced).
Gravity is set to 250 (On the scene) and I've yet to destroy the blocks if they reach the bottom of the screen.
Note: Randomly falling blocks wouldn't spawn after 3 seconds.
Solution: Turn off gravity on Scene. Add 'Accelerate' as a rule to each individual actor.
Thanks again forum
-Blackmill
Ilford