kozol.wmv (7.6 MB)
demo: physicsCalc
I like doing 3D, but I like physics even more. So I decided to load physics onto an arbitrary model. Yes, you can wrap any 3D model in physical properties. Yes, this is not exactly a soft body, but many physical objects connected to each other. Geometry is calculated and relative to distances, notes are placed. Yes, there is room to turn around with optimizations and tricks, but so far there is no time for this fun.
All this is based on oimoPhysics, why not on ammo - there is no way to add internal shapes, and in general everything is somehow complicated there, why not on joltPhysics.js - it came out recently, when I started doing it I did not see this engine, well, and then I was somehow too lazy to remake it for it. I did not even consider the other ones. In fact, I did not find a single similar example of a soft body on the web, not a basic shape (ball, box). Yes, the joltPhysics library is very curious, especially the latest bemka with fabric debagrom, maybe the soft model is implemented. But I have not tried it yet. Now I will post this post and try.