[SOLVED] How to burst particles?

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
suny
Greenskin
Posts: 137
Joined: Thu Mar 12, 2020 5:53 pm
x 60

[SOLVED] How to burst particles?

Post by suny »

Ogre Version: 1.12

It's not clear to me how a particle script can burst particles = spawning x particles at the same time, for one frame.

I tried to play with a small emitter duration and a very big emission rate, but I don't always understand the results (even with a big emission rate I always seem to spawn a small number of particles), and furthermore, it's very hard to control.

So how can I spawn a burst of 32 particles, for example, at the same time?
S.
Last edited by suny on Wed Aug 11, 2021 7:48 am, edited 1 time in total.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: How to burst particles?

Post by sercero »

I don't know, but there are some tips here:

Single Shot Particle Systems (viewtopic.php?f=3&t=28425)
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: How to burst particles?

Post by paroj »

for reference: you can now specify a negative duration to enable "burst":
https://codedocs.xyz/OGRECave/ogre/_par ... l#duration
Post Reply