Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resetting rope end positions when attaching the rope
#2
(01-08-2023, 02:23 PM)Alexander34 Wrote: Hello again, after studying the documentation I realized that when I change the target in ObiParticleAttachment the particle remain in the positions they were, however now the ParticleGroup is bound to a different transform.

This causes problems as I need to attach the end of the rope to a clearly marked location, instead it only binds to attachment position without resetting its own.


Hi,

You can just set the position of the particle to whatever location you need it to be before creating the attachment, as suggested in the docs:

Quote:If you want particles attached at a specific position other than their position at the time of creating the attachment, you can set their position at runtime before creating the attachment: see scripting particles.

Note that this might lead to unphysical behavior, since you're essentially teleporting a part of the rope around.

let me know if you need further help,

kind regards
Reply


Messages In This Thread
RE: Resetting rope end positions when attaching the rope - by josemendez - 01-08-2023, 03:46 PM