new softbody feature:
authorJens Ole Wund <bjornmose@gmx.net>
Thu, 28 Sep 2006 20:27:46 +0000 (20:27 +0000)
committerJens Ole Wund <bjornmose@gmx.net>
Thu, 28 Sep 2006 20:27:46 +0000 (20:27 +0000)
commit8e7b4039247419a34093b06b5a05c2423d2cab05
treeb4e765dd6cfac489c91992c78f26c98aea6f1f5b
parent22ce0faffe1423a31c1abd8ab262a20aedbda8eb
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
source/blender/blenkernel/intern/softbody.c
source/blender/makesdna/DNA_object_force.h
source/blender/src/buttons_object.c