Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Ole Wund <bjornmose@gmx.net>2006-09-26 16:53:57 +0400
committerJens Ole Wund <bjornmose@gmx.net>2006-09-26 16:53:57 +0400
commitd8874df09c838d371774f035cf69c4ae6f7755d1 (patch)
treea33395f82eac36273c1ec8a3a13f6759c0657e36 /source/blender/makesdna/DNA_object_force.h
parente6251f6ae772e8a8b92112fc10edd7695b205e31 (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.h3
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 */