On Tuesday 06 Mar 2012 12:21:39 Martin Haffner wrote: > Hi, > > I have a little question about osgAnimation. When I want to start an > animation from the beginning I make this call: > > Code: > animationManager->playAnimation( myAnimation ); > > > > Lets say I want to play animation myAnimation, but this time starting at > second N (for example 3) and NOT from the start (second 0). In other words: > I want to jump in the middle of an animation. Is there a way to do this > with osgAnimation? > > Thank you! > > Cheers, > Martin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=46055#46055
Hi Martin, AFAIK, the osgAnimation subsystem picks up the simulation time of your viewer. You can set that through osg::FrameStamp::setSimulationTime(), or by setting it explicitly on a call to osgViewer::Viewer::frame(). Hope this helps, Magnus
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

