Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope moving in runtime
#3
(02-12-2024, 02:55 PM)josemendez Wrote: Hi!

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,
Hello!
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.
Reply


Messages In This Thread
Rope moving in runtime - by Apoll0 - 02-12-2024, 02:46 PM
RE: Rope moving in runtime - by josemendez - 02-12-2024, 02:55 PM
RE: Rope moving in runtime - by Apoll0 - 02-12-2024, 04:49 PM
RE: Rope moving in runtime - by josemendez - 03-12-2024, 02:10 PM
RE: Rope moving in runtime - by Apoll0 - 03-12-2024, 04:48 PM
RE: Rope moving in runtime - by josemendez - 03-12-2024, 05:31 PM