Here's an example project that shows how to use verlet physics in your projects. I'm still reading up on the subject, so this is really just a fancy demo at the moment. I'm going to add in edges and then try and figure out how to control objects with forces or impulses.
Interesting.
I tried hitting Ctrl + R because I wanted to see the initial state again, but it seems the particles persisted thru the reset. (Not their momentum, though.)
Spamming Ctrl + R causes the colors to change, and eventually, the program to run out of memory.
[Please log in to post a comment]