Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attaching a prefab to each particle in a rope.
#1
Hello,
Is there a way to attach a gameobject/prefab to rope particles? I was thinking of creating the rope through script and attaching a prefab to each particle in the rope.
Is there a better way to do this? Is using pin constraints the solution to this one?
Reply
#2
(05-03-2021, 11:29 AM)hecali_aj Wrote: Hello,
Is there a way to attach a gameobject/prefab to rope particles? I was thinking of creating the rope through script and attaching a prefab to each particle in the rope.
Is there a better way to do this? Is using pin constraints the solution to this one?

Attachments are specifically designed for this:
http://obi.virtualmethodstudio.com/tutor...ments.html

If your intention is to have a rope completely made out of prefabs (like a prefab for every particle) try using the chain renderer:
http://obi.virtualmethodstudio.com/tutor...modes.html

It’s also possible to place a prefab at a specific point in the rope, see the ElectricalWires sample scene.

Let me know how it goes Sonrisa
Reply
#3
(05-03-2021, 11:46 AM)josemendez Wrote: Attachments are specifically designed for this:
http://obi.virtualmethodstudio.com/tutor...ments.html

If your intention is to have a rope completely made out of prefabs (like a prefab for every particle) try using the chain renderer:
http://obi.virtualmethodstudio.com/tutor...modes.html

It’s also possible to place a prefab at a specific point in the rope, see the ElectricalWires sample scene.

Let me know how it goes Sonrisa

Chain renderer is perfect! Thanks!
Also, I've sent an email to support about Obi Fluid, I hope you'll understand. Thanks!
Reply