Hi Nick
There are setDuration method in osgAnimation::Animation interface. Using it you can rescale animation to any duration you want.
i.e. to slowdown animation N times you can use
animation->computeDuration();
animation->setDuration(animation->getDuration() * N);
animation->setDuration(animation->getDuration() * N);
Cheers,
Sergey.
31.08.2012, 13:02, "Trajce Nikolov NICK" <[email protected]>:
Hi community,Lately I was doing something with animations (using osgAnimations). Any hints how to speed up/slow down animations (osgAnimation::Animation)Thanks a bunchNick_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

