diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2006-10-12 02:53:22 +0400 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2006-10-12 02:53:22 +0400 |
commit | 80aa6fe5fb91837fa2a52f173d0b856af0d1c629 (patch) | |
tree | a3bbcd685566810ad60071474065f68c8759699a /source/blender/makesdna/DNA_object_force.h | |
parent | de3c54569d320a2de343039085eefe0b9d45b1ed (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.h | 9 |
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; |