blender-manual/manual/physics/soft_body/forces/interior.rst

6.0 KiB
Raw Permalink Blame History

Interior

In between each neighboring vertex of a mesh, you typically create edges to connect them. Imagine each edge as a spring. Any mechanical spring is able to stretch under tension, and to squeeze under pressure. All springs have an ideal length, and a stiffness that limits how far you can stretch or squeeze the spring.

In Blenders case, the ideal length is the original edge length which you designed as a part of your mesh, even before you enable the Soft Body system. Until you add the Soft Body physics, all springs are assumed to be perfectly stiff: no stretch and no squeeze.

You can adjust the stiffness of all those edge springs, allowing your mesh to sag, to bend, to flutter in the breeze, or to puddle up on the ground.


To create a connection between the vertices of a soft body object there have to be forces that hold the vertices together. These forces are effective along the edges in a mesh, the connections between the vertices. The forces act like a spring. Fig. Fig softbody force interior connection illustrates how a 3×3 grid of vertices (a mesh plane in Blender) are connected in a soft body simulation.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_theory-1.svg

Vertices and forces along their connection edges.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_theory-2.svg

Additional forces with Stiff Quads enabled.

But two vertices could freely rotate if you do not create additional edges between them. The logical method to keep a body from collapsing would be to create additional edges between the vertices. This works pretty well, but would change your mesh topology drastically.

Luckily, Blender allows to define additional virtual connections. On one hand you can define virtual connections between the diagonal edges of a quad face (Stiff Quads Fig. Fig softbody force interior stiff), on the other hand you can define virtual connections between a vertex and any vertices connected to its neighbors Bending Stiffness. In other words, the amount of bend that is allowed between a vertex and any other vertex that is separated by two edge connections.

Settings

The characteristics of edges are set with the Springs and Stiff Quads properties in the Soft Body Edges panel. See the Soft Body Edges settings for details.

Tips: Preventing Collapse

Stiff Quads

To show the effect of the different edge settings we will use two cubes (blue: only quads, red: only tris) and let them fall without any goal onto a plane (how to set up collision is shown on the page Collisions).

Without Stiff Quads.
https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-001.png

Frame 1.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-036.png

Frame 36.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-401.png

Frame 401.

In Fig. Fig softbody force interior without, the default settings are used (without Stiff Quads). The “quad only” cube will collapse completely, the cube composed of tris keeps its shape, though it will deform temporarily because of the forces created during collision.

With Stiff Quads.
https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-001.png

Frame 1.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-sq-036.png

Frame 36.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-sq-401.png

Frame 401.

In Fig. Fig softbody force interior with, Stiff Quads is activated (for both cubes). Both cubes keep their shape, there is no difference for the red cube, because it has no quads anyway.

Bending Stiffness

The second method to stop an object from collapsing is to change its Bending stiffness. This includes the diagonal edges (damping also applies to these connections).

Bending Stiffness.
https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-001.png

Frame 1.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-bs-036.png

Frame 36.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-sb-bs-401.png

Frame 401.

In Fig. Fig softbody force interior bending, Bending is activated with a strength setting of 1. Now both cubes are more rigid.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-bending-001.png

Two planes going to collide.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-bending-101.png

No bending stiffness.

https://projects.blender.org/blender/blender-manual/media/branch/main/manual/images/physics_soft-body_forces_interior_quadvstri-bending-high-101.png

High bending stiffness (10).

Bending stiffness can also be used if you want to make a subdivided plane more plank like. Without Bending the faces can freely rotate against each other like hinges Fig. Fig softbody force interior no bending. There would be no change in the simulation if you activated Stiff Quads, because the faces are not deformed at all in this example.

Bending stiffness is the strength needed for the plane to be deformed.