Hi Paul, osgGA::AnimationPathManipulator is pretty simply to use and it's setup is illustrated in applications/osgviewer/osgviewer.cpp, just search for AnimationPathManipualtor.
Robert. On 21 November 2011 15:15, Paul Leopard <[email protected]> wrote: > Hi, > > Has anyone found any good example code for attaching the camera to an > animation path? Unfortunately all of the example code I have found is very > dated and due to a deadline I am unable to go back and learn Producer and > then how to port it to osgGA. I'm trying to find some example code so I can > quickly achieve the animation ... any example code would be greatly > appreciated. > > I have a trajectory of a missile that I have animated with an animation path > and all works well. Now I need to put the camera on the head of the missile > and orient it according to the direction the missile seeker is pointing. > > Thank you! > > Cheers, > Paul > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=43979#43979 > > > > > > _______________________________________________ > 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

