You can use more than one goal object to affect a particle object. For each goal object, the trailing particle object has a goal weight that sets the relative weighting of the attraction. If the goal weights are the same, each goal object attracts the trailing object with equal strength. The trailing object moves to a position between the two goal objects, typically oscillating back and forth before coming to equilibrium.
If the goal weights differ, each goal object attracts the trailing object with different strength. The trailing object comes to rest at a position closer to the goal with the higher goal weight.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License