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-29 00:27:46 +0400
committerJens Ole Wund <bjornmose@gmx.net>2006-09-29 00:27:46 +0400
commit8e7b4039247419a34093b06b5a05c2423d2cab05 (patch)
treeb4e765dd6cfac489c91992c78f26c98aea6f1f5b /source/blender/makesdna/DNA_object_force.h
parent22ce0faffe1423a31c1abd8ab262a20aedbda8eb (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.h1
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
}