02-12-2024, 04:49 PM
(02-12-2024, 02:55 PM)josemendez Wrote: Hi!Hello!
Attachments won't force the rope particles to move to a specific location, but attach them in the position they're in at the time of enabling the attachment as explained in the manual: http://obi.virtualmethodstudio.com/manua...ments.html
If you want to forceĀ a specific attachment position, there's a code snippet in the manual that achieves just that: http://obi.virtualmethodstudio.com/manua...ments.html
Probably you'd want to Teleport() the rope (in addition to moving the attachments) to get rid of the stretching? Note that moving the transform of a rope has no effect on it while it's being simulated: you need to move its particles - which is what Teleport() does.
kind regards,
Thanx!
Seems, that "If you want to forceĀ a specific attachment position, there's a code snippet in the manual that achieves just that:" is what I want. I will try it.
And BTW teleport doesn't help because I need not only move the rope itself but also change the positions of it's ends.