Author Topic: What is overrideAdvance?  (Read 869 times)

When creating a particle emitter datablock, there's a variable called "overrideAdvance." It's set to false by default, but setting it to true doesn't seem to change anything.
Quote
datablock ParticleEmitterData(ParticleEmitter)
{
   ejectionPeriodMS = 100;
   periodVarianceMS = 0;
   ejectionVelocity = 2.0;
   velocityVariance = 1.0;
   ejectionOffset   = 0.5;
   thetaMin         = 0;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = " ";
  
   useEmitterColors = 0;
};
I've found no documentation for this anywhere, and in some old bits of Torque engine code I've read it doesn't seem to do anything. The only check I could see for it set to true was the commented out error: "Not going to work.  Fix it!"

Does anyone know what this does or was supposed to do?

Quote
ParticleEmitter contains a field called overrideAdvance which enables or disables an error-correction feature that is not well understood. In TGE, overrideAdvance defaults to false, meaning that the error-correction is normally performed.

Source: http://www.torquepowered.com/community/forums/viewthread/61359/1#comment-452504

Silly variable. :o
I never thought about researching it, though i found it a rather interesting variable too.

Source: http://www.torquepowered.com/community/forums/viewthread/61359/1#comment-452504
So it does something, but it mostly says to just try it and see. Weird, since it usually seems to have no effect and the situations for its use aren't clearly outlined.