🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest physicsSimulation Activity

SPH could work for this as JoeJ said. 

Material point method (MPM) may also be a good fit. Here is a recent variant of it that does really well with sand type simulations:

https://github.com/yuanming-hu/taichi_mpm

6,763 views
Advertisement

@jak6jak Sorry, my net was down - and I was too busy to fix it, both at work and here fixing bugs. Anyway. Almost like you said, but better written in dv/dt form, like dv/dt=a, where 'a' is the acceleration (F/m). Solving this finding v(t), and next integrating to get the position deltas is the key…

4,466 views
Advertisement
Advertisement