THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/04/2010 at 17:05, xxxxxxxx wrote:
Cinema 4D Version: 11
Platform: Mac ;
Language(s) : C++ ;
I'm pumping my recording functions full of steroids... but I can't seem to find a sizable vein for the following conundrum;)
I'm not recording frame by frame; I'm storing the position and rotation values for each frame in a new structure I created and initialized in an array (each array member is for a frame of the animation). At the end of the animation is when the keys are created and fed their data from the array (similar to Cappuccino tool).
When it comes to trying to record the entire hierarchy, I don't want to have to store each pos/rot value of each possible child like I've done with the parent object (I already have some fairly large arrays declared as it is) , I'd like to create the keyframes and set their values using the parent object of the hierarchy as a reference. Is it safe? Or is the highly variable nature of hierarchies and children of children of children thing gonna much this whole thing up. I expect it to be a somewhat complex function that I'm gonna have to create, so I just want to make sure I'm heading down the right path before I waste a couple days on a function with a serious design flaw... you understand;)