4 ms·
Didn't look at rust too much, but I love this already. Will try it out. Body deformation is mentioned as a feature. Is this equivalent to what other renderer c
by raxxorrax 6y ago
Didn't look at rust too much, but I love this already. Will try it out.
Body deformation is mentioned as a feature. Is this equivalent to what other renderer call soft body physics opposed to rigid body physics? And can I treat such an object as a rigid object again if I wanted to and can I have compound objects with soft and rigid parts? Had some problems with that in some renderers.
Here is an example of what I would basically understand under that term:
https://www.babylonjs-playground.com/#480ZBN#2 https://www.babylonjs-playground.com/#480ZBN#2
This is babylon.js with ammo.js (I think it is ammo.js for the physics part).
- j-pb 6y agoI think so. Check out the demos in your browser: https://nphysics.org/all_examples3/ https://nphysics.org/all_examples3/ Also check out the fluid simulation engine that is a sister project of nphysics: https://salva.rs https://salva.rs
- pzone 6y agoIt implements finite element method solver for continuous solids. This is done by filling the object with tetrahedrons and applying deformation constraints. Varying the constraint strength throughout the object lets you adjust the stiffness. (I imagine nphysics supports this already.)