08-19-2013, 12:16 PM
Ok, one more question: When switching direction, how do you want existing particles to behave?
- Continue moving until end reached (=direction is set once at a particle's birth)
- Switch direction immediately and warp position (i.e. a particle that has 75% of it's age will be instantly warp from TF=0.75 to TF=0.25 if you switch direction from forward to backward)
- Switch direction immediately, but keep particle's position and speed (i.e. when switching direction, a particle starts moving in the new direction with constant speed, but will die in between because lifetime exceeds)
- Switch direction immediately and keep position, but increase speed to reach the end before it dies.
Thanks
Jake
- Continue moving until end reached (=direction is set once at a particle's birth)
- Switch direction immediately and warp position (i.e. a particle that has 75% of it's age will be instantly warp from TF=0.75 to TF=0.25 if you switch direction from forward to backward)
- Switch direction immediately, but keep particle's position and speed (i.e. when switching direction, a particle starts moving in the new direction with constant speed, but will die in between because lifetime exceeds)
- Switch direction immediately and keep position, but increase speed to reach the end before it dies.
Thanks
Jake