On 15/06/2014 at 07:39, xxxxxxxx wrote:
Cinema 4D Version: 14
Platform: Windows ;
Language(s) : C++ ;
I am trying to animate an object, which is a c++ object plugin, programatically with the current frame. For example the position in x should be equal to the current frame.
If I output the current frame variable to the console, it does not update, but stays at 0.
The object does animate in the viewport, but does not update when the animation is previewed or rendered.
I am calculating the current frame the regular way, ie: int cF = doc->GetTime().GetFrame(doc->GetFps());
Any help on how to force the update of the calculated current frame when rendering would be greatly appreciated.