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>2005-04-20 02:06:12 +0400
committerJens Ole Wund <bjornmose@gmx.net>2005-04-20 02:06:12 +0400
commit4126e4e34518243c4272804e10b3d157175b4691 (patch)
treeeaf16183984c680e3fcf9b68012f19a04501f30c /source/blender/makesdna
parent1d47d662f9c6b5a2bcaec90b1a4ff78781107553 (diff)
providing a minimalistic UI for SB vertex to face collision detection
in the particle interaction panel "D"= "Amount of damping during softbody collision/intrusion" "I"= "Inner face thickness" good value for unit cube == 0.2 "O"= "Outer face thickness" good value for unit cube == 0.02 still we can easily hide that before releasing
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_object_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 35260805d05..2998e1f9d68 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -92,6 +92,10 @@ typedef struct PartDeflect {
float f_strength; /* The strength of the force (+ or - ) */
float f_power; /* The power law - real gravitation is 2 (square) */
float maxdist; /* if indicated, use this maximum */
+
+ float pdef_sbdamp; /* Damping factor for softbody deflection */
+ float pdef_sbift; /* inner face thickness for softbody deflection */
+ float pdef_sboft; /* outer face thickness for softbody deflection */
} PartDeflect;
/* pd->forcefield: Effector Fields types */