diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2006-09-29 00:27:46 +0400 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2006-09-29 00:27:46 +0400 |
commit | 8e7b4039247419a34093b06b5a05c2423d2cab05 (patch) | |
tree | b4e765dd6cfac489c91992c78f26c98aea6f1f5b /source/blender/makesdna/DNA_object_force.h | |
parent | 22ce0faffe1423a31c1abd8ab262a20aedbda8eb (diff) |
new softbody feature:
simple (naive) self collision
estimates a collision ball
using the spring lenght to attached neighbours
(idea stolen from old cloth modifier files, but i'm sure ZAZ and genscher won't mind)
-- usefull for untangeling static cloth like objects
-- may be used for cloth simulation with known limitations
like 'tunnel effect' if objects are moving too fast ...
demo -- volatile files
http://www.wund.homepage.t-online.de/hidden/sb_without_selfcol.avi
http://www.wund.homepage.t-online.de/hidden/sb_with_selfcoll.avi
have fun
BM
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index b7bc74d524b..0508d7bac60 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -123,6 +123,7 @@ typedef struct SoftBody { #define OB_SB_BAKESET 64 #define OB_SB_BAKEDO 128 #define OB_SB_RESET 256 +#define OB_SB_SELF 512 #ifdef __cplusplus } |