diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2006-09-26 16:53:57 +0400 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2006-09-26 16:53:57 +0400 |
commit | d8874df09c838d371774f035cf69c4ae6f7755d1 (patch) | |
tree | a33395f82eac36273c1ec8a3a13f6759c0657e36 /source/blender/makesdna/DNA_object_force.h | |
parent | e6251f6ae772e8a8b92112fc10edd7695b205e31 (diff) |
New softbody option: adjustable rigidity.
Gives local structure stability for though fabrics, thin steelplates ..
even suzanne gets pretty crash resistant that way.
If non zero it not only adds diagonals but all other "2edge-wide" springs
so it somehow replaces stiff quads for meshes too.
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index 35cb4ecbf8b..b7bc74d524b 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -97,7 +97,8 @@ typedef struct SoftBody { SBVertex **keys; /* array of size totpointkey */ int totpointkey, totkey; /* if totpointkey != totpoint or totkey!- (efra-sfra)/interval -> free keys */ - + float secondspring; + float pad3; /* local==1: use local coords for baking */ } SoftBody; /* pd->forcefield: Effector Fields types */ |