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-10-12 02:53:22 +0400
committerJens Ole Wund <bjornmose@gmx.net>2006-10-12 02:53:22 +0400
commit80aa6fe5fb91837fa2a52f173d0b856af0d1c629 (patch)
treea3bbcd685566810ad60071474065f68c8759699a /source/blender/makesdna/DNA_object_force.h
parentde3c54569d320a2de343039085eefe0b9d45b1ed (diff)
softbodies
-seld collision adding fine control to UI -cleaning up code volatile test file again http://www.wund.homepage.t-online.de/hidden/sb_col_must_2_0.blend
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r--source/blender/makesdna/DNA_object_force.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h
index 881cbf9565e..c060f883712 100644
--- a/source/blender/makesdna/DNA_object_force.h
+++ b/source/blender/makesdna/DNA_object_force.h
@@ -98,11 +98,14 @@ typedef struct SoftBody {
SBVertex **keys; /* array of size totpointkey */
int totpointkey, totkey; /* if totpointkey != totpoint or totkey!- (efra-sfra)/interval -> free keys */
float secondspring;
+
+ /* self collision*/
float colball; /* fixed collision ball size if > 0 */
- float coldamp; /* cooling down collision response */
- float fpad1; /* cooling down collision response */
+ float balldamp; /* cooling down collision response */
+ float ballstiff; /* pressure the ball is loaded with */
short sbc_mode;
- short pad3,pad4,pad5;
+ short pad3, /* alias vg_ballsize, weight painting collision balls not implemented yet, but easy peasy to do */
+ pad4,pad5; /* could be vg_balldamp,vg_ballstiff :) ahh, well vg_nodemass is missing too*/
} SoftBody;