#1922 closed enhancement (fixed)
[PATCH] Allow relative velocity for particles, allow growth in size over time.
Reported by: | wraitii | Owned by: | wraitii |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 15 |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description
Some new possibilities for particles: you can now choose to have relative velocity (ie particles are created with their velocity relative to the rotation of the prop-point on the actor. This means things like jet thrusts are possible for mods, but there might be a few other uses (flamethrowers of sort, perhaps later for greek fire [assuming we don't switch to Ogre], or really whatever). It could probably be made the default mode since it changes nothing else, and most models currently use particles at their root points, which is unrotated (still need to check it's actually the case). Size growth could help a few effects, such as smoke: patch includes a change to the smoke used by the campfire: you can see how with a reduced emission rate, you still get a really good effect as the particles grow in size.
Attachments (1)
Change History (7)
by , 11 years ago
Attachment: | ParticleUpdates.patch added |
---|
comment:2 by , 11 years ago
It is possible, however currently once the particles reach size "0" they will start growing again. Not sure if this is a good or a bad thing, since with proper tweaking this could probably be used as an effect to some extent. The name can be changed, obviously.
I do not think we support a start and end size right now. Afaik there is no maximal or minimal size, the size is a float, so that would be limited by float range.
comment:3 by , 11 years ago
Milestone: | Alpha 14 → Alpha 15 |
---|
comment:4 by , 10 years ago
(my darn SVN tool commits automatically when I type Enter…) Committed as of [14286]
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 10 years ago
Keywords: | review removed |
---|
Is it possible to have particles that shrink over time, with a negative
size.growth
? I think it should be, but then can the size go negative with this patch? What is the maximum and minimum size? (I have seen particle systems in the past that had start and end size, rather than start and growth, maybe for this reason.)Probably
growthRate
is a more accurate term, given how it's being used.