[osg-users] Question about train simulation

2009-09-03 Thread Shiina Ringo
Hi, I am a new to OSG Now I am woking in a project for train simulation game , using the osgAnimation library , but for now just some problems trouble me : for example , when the train turns left or right , the cabin need rotate for a angle , and I have tried for creating

Re: [osg-users] Question about train simulation

2009-09-03 Thread Cedric Pinson
Hi shiinaringo, You can check the osganimationskinning example to show how to setup a bone chain by hand. Other way could be to use solid animation instead of bone chain. see example osganimationsolid Cheers, Cedric - +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net

Re: [osg-users] Question about train simulation

2009-09-03 Thread Shiina Ringo
Hi Cedric, Thank you very much for your advice! Cheers, Shiina Ringo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16992#16992 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Question about train simulation

2009-09-03 Thread Shiina Ringo
Hi Cedric, for another question to osgAnimation , that is , the function setBindMatrixInBoneSpace() in osgAnimation::Bone , its parameter's matrix , and I just cannot understand this parameter's meaning as well as How to give the correct matrix. Besides , I just have no idea about the