Hi,

Is there a simple way to programmatically set rotation of a model in osgViewer?
[code]myViewer->setSceneData(fancyObject);
myViewer->run();[/code]
After this code, the object is displayed statically in the window. To get it to 
rotate, the user must click and pull the object in the desired direction. What 
I am looking for is something like this:
[code]myViewer->setSceneData(fancyObject);
myViewer->cameraManipulator->rotate(angle, speed);
myViewer->run();[/code]

Is there such a thing, and if not what is the next-best?

Thank you!

Cheers,
Dženan

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





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

Reply via email to