Untitled Document

InterpolatorID = SP ADD INTERPOLATOR (GroupID , PARAM , born# , death# , typeFlag)
DESCRIPTION:

Adds an iterpolator to a Group.With interpolators you can do really cool things like scale the particles at certain time , rotate , randomize the atlas dimensions (set in quad renderer) ,etc.There's 3 version of this command:

The 1st creates a Simple interpolator which can be a random (typeFlag = 1 , random numbers between born# and death#) or linear (typeFlag = 0 linear transition from born# to death#)

The 2nd version is a random interpolator (Particles are born with a random number between minBorn# and maxBorn# and creates a linear transition to a random number between minDeath# to maxDeath#).

The 3rd version sets the PARAM to constant for each particle in this group.

PARAMETERS:

- GroupID - The ID of the Group
- param - The parameter you want to interpolate.The parameters are : 0-The scale factor of the particles 1-Mass of the particles 2-The Angle of the particles 3- The texture index of the particles 4-The rotation speed of the particles.
- born - Float value.The value at particles birth.
- death - Float value.The value at particles death
- minBorn - Float value. The Minimum value at particles birth.
- maxBorn - Float value. The Maximum value at particles birth
- minDeath - Float value. The Minimum value at particles death
- maxDeath - Float value. The Maximum value at particles death

BACK TO MAIN HELP
BACK TO INTERPOLATOR HELP
InterpolatorID = SP ADD INTERPOLATOR (GroupID , PARAM , minBorn# , maxBorn# , minDeath# , maxDeath#)
InterpolatorID = SP ADD INTERPOLATOR (GroupID , PARAM , constantValue# )