Hi , First you need to understand how bone animations works, else you will not be able to manipulate the character. http://en.wikipedia.org/wiki/Skeletal_animation then you can try to touch osgAnimation::Bone it's the node used to control part of the skeleton.
Cedric Pinson Provide OpenGL, WebGL services +33 659 598 614 - http://cedricpinson.com - http://osgjs.org - http://sketchfab.com On Jul 5, 2012, at 15:01 , Héctor Martínez wrote: > Hi, > > I am starting to play with animation in OSG. I would like to animate > Nathan.osg model. The aim is to have control over the different parts of the > body and get, for example, a rotating arm. I don’t know where to start. I > have been trying to use DOFTransform, but I can’t convert any of the children > to DOFTransform (I am getting NULL casting). I have also tried to create a > child DOFTransform node and add the arm as a child but not working either. > > Could someone give me some hints on where to concentrate? Tutorial, example > or just the right classes to do it. Or maybe if it is not possible with that > model, some clues about the right models to do that. > > Thank you in advance. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org