Hi, in my program sometimes I call an setUpdateCallback(); over a node. In this callback I do:
Code: osg::AnimationPath* path = new osg::AnimationPath(); path->setLoopMode(osg::AnimationPath::NO_LOOPING); path->insert(0.0, osg::AnimationPath::ControlPoint(osg::Vec3d(xpos,-ypos,0.0),osg::Quat(osg::inDegrees(-angle),osg::Z_AXIS))); osg::NodeCallback* nc=new osg::AnimationPathCallback(path); return nc; If the node is an OSG model it works, otherwise if is a Collada File it doesn't work. It doesn't move. Can you help me? Thanks! daniele ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27300#27300 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

