adds an ejectionOffsetVariance entry to particle emitters, which adds a buffer zone to ejectionOffsets (IE: let's us make rings, and the like.)

This commit is contained in:
Brian Roberts 2013-08-06 13:36:17 -05:00
parent 3e3006024c
commit 0c88a12b83
4 changed files with 106 additions and 5 deletions

View file

@ -73,7 +73,7 @@ class ParticleEmitterData : public GameBaseData
F32 ejectionVelocity; ///< Ejection velocity
F32 velocityVariance; ///< Variance for velocity between 0 and n
F32 ejectionOffset; ///< Z offset from emitter point to eject from
F32 ejectionOffsetVariance; ///< Z offset Variance from emitter point to eject
F32 thetaMin; ///< Minimum angle, from the horizontal plane, to eject from
F32 thetaMax; ///< Maximum angle, from the horizontal plane, to eject from