13-10-2020, 12:00 PM
(13-10-2020, 11:43 AM)josemendez Wrote: Using a particle index to look into an elements array makes no sense whatsoever. There's usually more particles than elements in a rope, hence the out of range exception. Instead of:
Code:ropeObject.Tear(ropeElements[particleToTear]);
do
Code:ropeObject.Tear(ropeElements[j]);
Silly me! Thank you very much. That worked.