27-02-2020, 12:56 PM
(27-02-2020, 10:17 AM)josemendez Wrote: Hi,
Sorry, I don't understand your question. The three things you mention are basically unrelated. AddControlPoint() adds a new point to the rope's path. ParticleGroup.name is the name of a particle group (a string). The target of a ObiParticleAttachment is a transform.
Do you mean how to add distance/bend/some other constraints at runtime? or how to add an attachment at runtime?
I wanted to create an effect like this video, where the feet of the character can create a constraint on any part of the rope, whether it's the rocking of the character or the climbing of the net.