Hi Mike, As Aurelien said, you are sharing the same nodes between instances, so when you update one turret rotation - you update all of them ( for the same type of tank ).
You need to make a copy of the osg file, but this copy should share statesets, textures and geometries ( only osg nodes should be deep copied ). In our system for each type of the vehicle we use a model prototype - the file loaded from osg file. When we need to create an instance, we do : osg::Node* modelInstance = dynamic_cast<osg::Node*>( modelPrototype->clone(osg::CopyOp::DEEP_COPY_NODES) ); The nodes are cloned ( deep copy ), but drawables and statesets are the same. Now you can connect update callbacks to nodes. Paweł Księżopolski ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51759#51759 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

