Hi Harald, With a cluster you would dispatch the SimulationTime from the master to all the slaves so that they use the master's SimulationTime, so if it's simulation time jumps then so till will the slaves.
Robert. On 17 June 2014 18:32, Harald Müller <lacky19102...@yahoo.de> wrote: > Thanks! > > Hmmm I think the SimulationTime and the ReferenceTime doesn't help me do > solve this problem ... > > What I am searching for is function to jump e.g. to the middle of the > animation. > > > Example: > - Client A starts animation X > - Client A hast 40% finished of animation X > - Server sends control message that the X should be at 50% > - Client A sets animation X to 50% > > "compyler" had an similar problem: > http://forum.openscenegraph.org/viewtopic.php?t=10012 > > But I don't know which class provides this methods and how to use it: > > Code: > animationManager->playAnimation( myAnimation ); > myAnimation->setStartTime(myAnimation->getStartTime() -3.0); > > > > I'm building an osg::AnimationPath and simply add it to the addUpdateCallback: > > > Code: > > transform->addUpdateCallback(new MyCallback(this, buildAnimationPath(), 0.0, > 1)); > > > > > > Thank you! > > Cheers, > Harald > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=59789#59789 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org