Hi Dieter, The setHeight should take an effect, the DriveManipulator::calcMovement() contains the code that uses the _height member variable. The next frame event should trigger the manipulator to update its position accordingly.
The DriveManipulator::setNode(osg::Node* node) method will currently override the _height value, this will be called if you viewer changes its scene graph. Perhaps this is what is causing problems. If so then try using putenv/setenv to set the OSG_DRIVE_MANIPULATOR_HEIGHT env var to the value you want. Robert. On Fri, Apr 18, 2008 at 12:32 PM, Dieter Pfeffer <[EMAIL PROTECTED]> wrote: > > > Hi, > > how can I set the height in DriveManipulator ? > > When I use setHeight, it has no effect, specially when I remove the > intersectTraversal. > > When I look in the source code, I can't find how the height effects the > calculation. > > Or do I miss something ? > > > Thanks > > Dieter > > > Unclassified Mail > > _______________________________________________ > 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

