Opened 5 years ago
Last modified 5 years ago
#5400 new defect
Add a timeout to particle emitters
Reported by: | Stan | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Simulation | Keywords: | |
Cc: | Patch: |
Description
Currently there is no way to tell a particle emitter to stop. This would be particularly useful for muzzle flashes on guns. Currently to make them work you have to rig the particle to a skeleton and make it disappear below the ground. That's an issue because particles are being produced even below the ground, and might be rendered as well. Related files are:
source/simulation2/components/CCmpParticleManager.cpp source/simulation2/components/ICmpParticleManager.cpp source/simulation2/components/ICmpParticleManager.h source/simulation2/components/ICmpParticleManager.h source/graphics/ParticleEmitter.cpp source/graphics/ParticleEmitter.h source/graphics/ParticleEmitterType.cpp source/graphics/ParticleEmitterType.h source/graphics/ParticleManager.cpp source/graphics/ParticleManager.h
The timeout should be configurable. The particle should appear each time the gun fires.
Note:
See TracTickets
for help on using tickets.
Move tickets to
Simulation
asUI & Simulation
got some sub components.