I'm trying to manage animations in my application and I'm looking at the
osganimationviewer example to try to understand how to do it. So far I have
done something like this:

1) I use a node visitor that looks for an AnimationManagerBase
2) if the visitor manage to find an AnimationManagerBase then I get its
AnimationList
4) then I create a new BasicAnimationManager from the AnimationManagerBase
3) and for each animation in AnimationList I call
setPlayMode(osgAnimation::Animation::LOOP) and the playAnimation() method
for the BasicAnimationManager

but animations do not start. Am I missing something?

Thanks.
Alessandro
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to