Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ReattachingParticle
#6
(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.
Reply


Messages In This Thread
ReattachingParticle - by alex798 - 21-02-2022, 04:08 PM
RE: ReattachingParticle - by josemendez - 24-02-2022, 08:53 AM
RE: ReattachingParticle - by alex798 - 09-03-2022, 02:11 PM
RE: ReattachingParticle - by josemendez - 09-03-2022, 02:51 PM
RE: ReattachingParticle - by alex798 - 10-03-2022, 09:05 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 09:32 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 09:39 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 09:43 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 10:01 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 10:36 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 10:50 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:01 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 11:24 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:37 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 11:42 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:51 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:54 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 12:13 PM
RE: ReattachingParticle - by josemendez - 10-03-2022, 12:26 PM
RE: ReattachingParticle - by alex798 - 15-03-2022, 03:50 PM