Soft bodies are an alternate type of collision object to rigid bodies; they deform as a result of collisions and that allows us to simulate objects made from soft and malleable materials. In this chapter, we will be exploring the nuances of soft body physics and adding a soft body to our scene.
Continue from here using the
Chapter9_SoftBodyDynamics project files.
One way to think of soft bodies is having a non-rigid constraint on each vertex. When one vertex is moved, the rest move with it, but not to the same extent, and each tries to maintain their distance from their nearest neighbors, or in other words, maintain their original pose. Thus, with a robust constraint system in place (like Bullet ...