> 
> Thanks, that's great! But I have one more problem. How can I change
> distance of manipulator? I mean it is connected with node, but it's far
> away. I want to zoom in. And also I don't know how to turn off mouse
> controll...


The osgGA::NodeTrackerManipulator  inherits directly from 
osgGA::OrbitManipulator  which has functionality that among other things can 
change the distance between the manipulator and the node it is tracking 

setDistance (double distance)

I'm not sure what you mean by turn off the mouse control.  Are you trying to 
lock the camera view to a particular view?  I believe that you could lock it by 
setting the heading of the manipulator, but I personally haven't tried this.  
You might find something from what you have inherited in 
osgGA::OrbitManipulator or its parents.

hope this helps.

Scott Wasinger

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45570#45570





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

Reply via email to