Particle explosion
by Michael Balogh · in Torque Game Builder · 04/22/2008 (8:15 pm) · 2 replies
Hey all...anybody know how to make the particles come to life in a circle? I know they all can't be at the same time, but I could program them to all being a millisecond apart, and that'd be close enough for me ;)
Something kind of like this, where "0" is the object and the lines are the particles and they all spread away from the object at the same rate (or close enough):
0
\ | /
-- 0 --
/ | \
\ | /
-- 0 --
/ | \
Ugh...even I'm embarassed to look at that...but do you understand what I mean? I toyed with Emission Arc Base and Emission Angle Base for a bit, but to no avail.
Is there a way to do this, or would I be better off making an animated sprite?
Thanks for your help!
Mike
Something kind of like this, where "0" is the object and the lines are the particles and they all spread away from the object at the same rate (or close enough):
0
\ | /
-- 0 --
/ | \
\ | /
-- 0 --
/ | \
Ugh...even I'm embarassed to look at that...but do you understand what I mean? I toyed with Emission Arc Base and Emission Angle Base for a bit, but to no avail.
Is there a way to do this, or would I be better off making an animated sprite?
Thanks for your help!
Mike
#2
05/15/2008 (9:41 pm)
Start with a very high quantity base over 1000, and then drop this to zero after 100 miliseconds. This should produce enough particles to expand in a hollow circle. You'll also want the particle speed to slow over time to zero so that they stay in a neat circle and don't get too spread out.
Torque Owner Christian Rousselle
Default Studio Name
Another possibility (if you want to create a halo) is to use a sprite that is a circle and scale it over time without letting it move.