diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2006-10-20 02:01:06 +0400 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2006-10-20 02:01:06 +0400 |
commit | 57f01fdb46d8a764858b8e1f7678be7c1a00b572 (patch) | |
tree | dfdc6cd4a61dd563c35090d7ee8741cecdebfcf2 /source/blender/makesdna/DNA_object_force.h | |
parent | 1730b7b41d163be80d53347968320adc58005202 (diff) |
more softbody goodies:
SB collision targets may be picked up from modifier stack
works fine with static targets having subsurf and/or array mofifiers
see-->
http://www.wund.homepage.t-online.de/hidden/Mstack.blend
http://www.wund.homepage.t-online.de/hidden/Mstack_II.blend
however when calulating the SB object dynamics the vertices of the
'deform only' m-stack result are used
so SB <-> SB may look strange
subsuf modifier is applied to SB object after doing SB dynamics
(that is: colliding mesh is subsurfed, SB is not )
subsurfed SB cubes colliding
link --> http://www.wund.homepage.t-online.de/hidden/ColSelfMod.blend
or may give unwanted results
subsuf and array modifier is applied to SB object after doing SB dynamics
link --> http://www.wund.homepage.t-online.de/hidden/ColSelfMod_nobug.blend
last, modifiers that change vertex locations in time (like waves)
suffer from not beeing seen at needed time resolution
(SBs see colliders static in a frame)
well but that's beyond the limits of the current dep-graph use
and needs to be resolved on design level
anyhoo 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 567e1d7c42f..7ecff33e165 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -135,6 +135,7 @@ typedef struct SoftBody { #define OB_SB_SELF 512 #define OB_SB_COLLISIONSET 1024 #define OB_SB_EDGECOLL 2048 +#define OB_SB_COLLFINAL 4096 #ifdef __cplusplus } |