|
Sekker Thirroul
Registered User
Join date: 27 Aug 2006
Posts: 28
|
04-29-2008 07:33
have a particle script I'm adapting to a project, I can't figure out why it only emits one burst then stops
llParticleSystem([ PSYS_PART_FLAGS, PSYS_PART_EMISSIVE_MASK | PSYS_PART_INTERP_COLOR_MASK | PSYS_PART_INTERP_SCALE_MASK, PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE, PSYS_SRC_ANGLE_BEGIN, 0.0, PSYS_SRC_ANGLE_END, 0.4, PSYS_PART_START_SCALE, <0.5, 0.5, 0.0>, PSYS_PART_END_SCALE, <5.0, 5.0, 0.0>, PSYS_PART_START_ALPHA, 1.0, PSYS_PART_END_ALPHA, 0.0, PSYS_PART_START_COLOR, <0.3,0.0,0.0>, PSYS_PART_END_COLOR, <1.0,1.0,1.0>, PSYS_PART_MAX_AGE, 2.0, PSYS_SRC_MAX_AGE, 2.2, PSYS_SRC_BURST_RATE, 0.1, PSYS_SRC_BURST_PART_COUNT, 50, PSYS_SRC_BURST_RADIUS, 0.8, PSYS_SRC_BURST_SPEED_MAX, 8.0, PSYS_SRC_BURST_SPEED_MIN, 2.0 ]);
could someone explain, I'd thought it should sent out a burst every 0.1 seconds untill the script set a new particle system on the prim
|
|
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
|
04-29-2008 09:04
PSYS_SRC_MAX_AGE, 2.2,
That makes it so the particle emitter only emits particles for 2.2 seconds. However, seems it should be more than one burst, should be..lesse...22, since it's going for 2.2 seconds at 10 bursts per second..hmm...
Iono why it's only doing one then o.o
_____________________
Tutorials for Sculpties using Blender! Http://www.youtube.com/user/BlenderSL
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
04-29-2008 09:10
It might LOOK like one burst, since the age of the particles themselves is close to the age of the source (2.0 seconds) and they are emitted quickly enough it might appear continuous....
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
04-29-2008 09:19
It is emitting one overall "burst" (comprised of 22 small bursts of 50 particles).. for 2.2 seconds, and then not again until you reset the script, because you said the emitter age was 2.2 seconds. If you want it continuous, set the emitter age to 0.0.
|