Hi Dieter, The AnimationPathManipulator doesn't have any mechansim for doing any special actions when the path is complete, so you'll either have to create a subclass from it to detect this, or create your own manipulator which manages this at a higher level.
Robert. On 5/4/07, Dieter Pfeffer <[EMAIL PROTECTED]> wrote:
Hi, I would like to choose between different camera pathes; when the path is finished I would like to switch to trackballmanipulator. I have tried osgGA::AnimationPathManipulator and osgProducer::Viewer::addCameraManipulator and osgProducer::Viewer::selectCameraManipulator; this is running with one camera path but I don't know how to select another one and I don't know when I have to switch to the trackballmanipulator (when is the path finished) I have the same question when I try to switch between different object pathes; I 've tried - osg::AnimationPathCallback and osg::PostionAttitudeTransform::setUpdateCallback; I can attach one object path but I can not switch to another one. any hints ? Thanks Dieter Unclassified Mail _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
