adding a Softbody type (Re: [Bf-python] Re: blender 2.40 python docs)

Toni Alatalo antont at kyperjokki.fi
Wed Nov 16 13:44:13 CET 2005


On Monday 14 November 2005 16:56, Toni Alatalo wrote:

returning to the issue with having softbody methods in Object:

> systems: softbodies and fluids, i guess it is bad to pollute Object with
> the details of both (and in the future perhaps more) of them. then again i
> dont know what would be a good design either. one i guess would be to have
> object.softbody, object.fluidsim etc. default to None, and point to

after seeing that code much of yesterday, and adding object.pose that way, i'm 
quite convinced that that way, aggregation, would be better for Softbody too.

so i suggest adding a Softbody type and moving the sb methods from Object to 
it, and only having object.softbody in Object.c as None or a Softbody.

could Johnny Matthews who originally added it, or someone, please do that? not 
too urgent, but let's not forget it before the coming beta release and 
publishing the docs :)

or does someone disagree?

i'll probably commit Pose and object.pose later this week, at least if get the 
fromAction method actually working.. (now it runs but does not actually 
change the pose at least in 3d view even tho i added a DAG recalc force, will 
sort out)

> ~Toni

same.



More information about the Bf-python mailing list