Thanks Robert that was my idea to set an isFinished (), but I was not sure.
However I have no idea how I can switch to another path ? Dieter Unclassified Mail ------------------------- Dieter Pfeffer email: [EMAIL PROTECTED] Thales Nederland P.O. Box 42 7550 GD Hengelo, The Nederlands Phone: + 31-74 -2484262 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Osfield Sent: Friday, 04 May, 2007 10:21 To: osg users Subject: Re: [osg-users] different camera pathes 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/
