On 25/02/2013 at 02:22, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
In order to perform some soft-body deformations using a deformer object, I want to use a mass-spring system applied to the vertices and edges of the polygonized mesh sent to ModifyObject(). My problem is that I definitely do not want to create the mass-spring system every time ModifyObject() is called but only initially and when there are changes to the object being deformed that might require a rebuild of the system. Would GetDirty(DIRTYFLAGS_DATA) be enough? What if the user edits the mesh in some way (for already polygon objects)? What messages might I be looking for in my deformer object from its 'parent' (if any)?
Thanks,