05-03-2021, 11:46 AM
(This post was last modified: 05-03-2021, 11:49 AM by josemendez.)
(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