07-08-2024, 07:13 AM
Okay I have solved the issue by using the following new code
I didn't knew about ResetParticles() before, is there is any major difference between my previous and new approach. It seems to does the trick for me.
Code:
public void ResetRope()
{
rope.ResetParticles();
ropeCursor.ChangeLength(initialLength - rope.restLength);
}
I didn't knew about ResetParticles() before, is there is any major difference between my previous and new approach. It seems to does the trick for me.