Hi Nick, I followed your advice and set up an update callback. But I still can't seem to get rid of the problem that I was facing (i.e. positions getting set to (0,0,0) during callback traversal.
I thought it might help if I attach the code for my callback functions instead of copying it here. In my main(), I attach the callback as follows: Code: //attach callback functions to backhoe PATs: backhoe1PAT->setUpdateCallback(new BackhoeUpdatePositionCallback( surface, mapNode, objectPlacer)); I'm hoping to understand why my callback is not setting the object at the right location. Thanks, Sanat ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30204#30204 Attachments: http://forum.openscenegraph.org//files/backhoeupdatepositioncallback_181.h http://forum.openscenegraph.org//files/backhoeupdatepositioncallback_527.cpp _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org