Spring Rope Simulation

Started by
0 comments, last by ljhan 1 year, 2 months ago

Hi,I made a spring rope simulation using hooke's law F=-k*x

and it worked fine when i updated him.Now, I want it to decrease its length during iteration until its length becomes zero or [i+1],[i+2],so on become the position of [i].But my problem is that he doesn't reach zero because he still has some space left between the first and subsequent particles.Is it possible to do this as I want it to happen? If possible, how to do it and what are the steps?

This topic is closed to new replies.

Advertisement