Obi Official Forum

Full Version: How to add objects along rope without them affecting the rope
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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
(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!