R0J0hound, WOW! Thanks, Exactly what I wanted, I'm trying to replicate a water effect. so this would be the wave, when something hits it. Ignoring collision by applying a force of 1 :)
I encountered a problem that maybe you can help me fix. If I set the window and layouts width to 960, the code works well making the line, but the line is too heavy so it makes a large dip which won't replicate my water effect. Do you know how I can fix this?