Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attaching a prefab to each particle in a rope.
#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


Messages In This Thread
RE: Attaching a prefab to each particle in a rope. - by josemendez - 05-03-2021, 11:46 AM