29-07-2020, 03:06 PM
Hi, I'd be interested in removing or adding particle attachments from ropes at runtime. Is this possible? Or could this be done by adding a rigidbody and a normal Unity joint to use as a proxy?
(29-07-2020, 03:06 PM)Lockpickle Wrote: [ -> ]Hi, I'd be interested in removing or adding particle attachments from ropes at runtime. Is this possible? Or could this be done by adding a rigidbody and a normal Unity joint to use as a proxy?
(31-07-2020, 12:23 PM)josemendez Wrote: [ -> ]Sure, simply add a ObiParticleAttachment component as you would with any other component, and set its target and particle group attributes to whatever you need. To remove it simply destroy the component.
let me know if you need help with this.
(31-07-2020, 04:05 PM)Lockpickle Wrote: [ -> ]Thanks! This didn't seem to work when I tried it, but maybe I had something wrong. I did get it working eventually using a proxy object. But also, what if I want to attach something to a part of the rope other than a control point, can I somehow add a particle group dynamically?