Hi,

I have a wheel model (an .obj) that needs an DOF in the middle of the wheel (to 
make the wheel spin). I know the position of the DOF and I know the 3 axis of 
the DOF (x axis goes up, y goes in the depth and z to the left. So basically 
just the normal osg coordinate system rotated around y by 90 Degrees.).

Now I want to create an osgSim::DOFTransform ( 
http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00182.html
 ) to describe this DOF. Unfortunately I do not exactly what I have to do now. 
The DOFTransform neither has a setPosition() nor a setAxis() method. 
Do I have to use setPutMatrix()? If yes: How do I create this matrix? Is it 
just M = RotationY(90) * Translation(DOFPosition)?
Do I also need to set the Inverse PutMatrix?

Thanks for any help!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42866#42866





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to