Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add objects along rope without them affecting the rope
#1
Is there a way to add objects along the rope, similar to how the start and end prefabs work? I don't want to use pin contraints because the attached object would have an effect on the rope.
I need to do this programmatically because I have ropes that change size. Is this at all possible?

Thank you.
Reply
#2
(02-04-2019, 09:57 PM)yyy-2c2p Wrote: Is there a way to add objects along the rope, similar to how the start and end prefabs work? I don't want to use pin contraints because the attached object would have an effect on the rope.
I need to do this programmatically because I have ropes that change size. Is this at all possible?

Thank you.

Yes, it is possible. You can get all particle properties (including positions), and use them to place objects there. See:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply
#3
(03-04-2019, 07:20 AM)josemendez Wrote: Yes, it is possible. You can get all particle properties (including positions), and use them to place objects there. See:
http://obi.virtualmethodstudio.com/tutor...icles.html

Thanks! Thats very useful!
Reply