14-08-2017, 02:04 AM
Hi!
What is the method for dynamically adding pin constraints to a rope??
I've tried creating an ObiPinConstraintBatch object, using the AddConstraint function, and then using AddBatch to add the pinconstraintbatch to the ropes pin constraints. I reference the pin constraints of my rope with:
pinConstraints = swingRope.GetComponent<ObiPinConstraints> ();
Is this the proper way of doing this? Because what I've written appears to have no affect! I would appreciate any help!!
gxiv
What is the method for dynamically adding pin constraints to a rope??
I've tried creating an ObiPinConstraintBatch object, using the AddConstraint function, and then using AddBatch to add the pinconstraintbatch to the ropes pin constraints. I reference the pin constraints of my rope with:
pinConstraints = swingRope.GetComponent<ObiPinConstraints> ();
Is this the proper way of doing this? Because what I've written appears to have no affect! I would appreciate any help!!
gxiv