Log In  

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.

Github Source
Github Page

Cart #39723 | 2017-04-17 | Code ▽ | Embed ▽ | No License
2

P#39724 2017-04-16 20:55 ( Edited 2017-04-17 00:55)

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.

P#78726 2020-06-30 21:52

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 19:57:43 | 0.009s | Q:15