How work AnimateObject(...) ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2004 at 01:13, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C++ ;---------
Hi.I try to implement a fast forward/rewind function in my plugin (jumping in the time line).
In this case must the plugin ask some needed animated parameters of objects/tags etc. on every frame of animation.I tried it with BaseDocument* AnimateObject(...) function, but it does't work. Because the animated parameters update the only then, when my plugin-code was executed to the end.
Now an ask: how work the AnimateObject function and how is possible to get a animated parameter on every frame of animation?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/06/2004 at 04:59, xxxxxxxx wrote:
I couldn't confirm this malfunction of BaseDocument::AnimateObject(). The following code successfully printed the X coordinate of an animated object at the two times:
BaseObject* obj = doc->GetFirstObject(); doc->AnimateObject(obj, BaseTime(1.0), 0); GePrint(RealToString(obj->GetPos().x)); doc->AnimateObject(obj, BaseTime(2.0), 0); GePrint(RealToString(obj->GetPos().x));