Page 1 of 1

Reverse particle system

Posted: Thu Jun 14, 2018 1:29 pm
by andras
Hi there,

Is it possible to play a particle system in reverse, so that instead of emitting particles from a point and having them accelerated all over the place, the particles are attracted to a single target? Kind of like a particle system played backwards. I tried pSystem:update(-dt) without luck.

I'm working on the following teleport effect:

I can calculate the location of the teleport target and tweak the particle system's speed and lifetime to have the particles arrive at the target location when everything is standing still, but when the target is moving, the particles arrive at the wrong location. It would be nice to be able to solve it with two particle systems: a regular emitter from the source, and a particle attractor at the target?

Any ideas?