10-03-2022, 09:32 AM
(This post was last modified: 10-03-2022, 09:37 AM by josemendez.)
(10-03-2022, 09:05 AM)alex798 Wrote: No, I mean if I move target won't attached particles move with it? Or they move only with Physics(Rigidbody) movements and stay with transforms teleporting?
If the attachment is static, the target transform position and orientation is simply copied to the particle.
If the attachment is dynamic, target transform movement (be it a rigidbody or not) will be applied to the particle as a force, which in turn will move the particle.
Either way if you move the target, any attached particles will move with it.
Note that attachments only attach whatever particle(s) are part of the particle group. So if you have a rope and attach one control point that's only one particle attached, not all particles in the rope. All other particles in the rope will be simulated as usual which means that if you teleport the target -and the attached particle with it- all other particles in the rope will spring towards the target simply because the rope strives to keep its rest length.
If you want to move both the target and the entire rope without any springy motion going on, you want to teleport both.