So basically you want the targets to follow the animation on the target object, but when storing custom properties the particles are going back to their saved location at frame 0, instead of where the object is at frame 50 (or whatever)?
You'll definitely need a script operator for this, it's just a matter of saving your transforms in local space and retrieving them relative to the object's TM.
So basically your script would be something like this (not sure if this compiles, it's off the top of my head but it looks ok at a glance):
Then you'd put your Find Target operator below this script op, load the target TM from the "worldTM" channel and it would update accordingly.
You'll definitely need a script operator for this, it's just a matter of saving your transforms in local space and retrieving them relative to the object's TM.
So basically your script would be something like this (not sure if this compiles, it's off the top of my head but it looks ok at a glance):
Code:
//...inside the particle loop
if (tf.EventAge(sInx) == 0)
{
tf.SetCustomTM(sInx, "localTM", tf.GetTM(sInx) * Inverse(obj001.GetTM()); //when particles are born, save their initial offset from the object transform
}
tf.SetCustomTM(sInx, "worldTM", tf.GetCustomTM(sInx, "localTM") * obj001.GetTM()); //continuously update the worldTM channel with the saved localTM x the object's currentTM (ie, the updated TM)
Then you'd put your Find Target operator below this script op, load the target TM from the "worldTM" channel and it would update accordingly.