priyadarshi wrote:
> Robert Osfield wrote:
>> Using a custom visitor to find your named node, overload the
>> apply(Transform&) and within this do a dynamic_cast<> to DOFTransform.
>> osgplanets has a find named node visitor.
>>>
>>> I loaded a .ac model in osg (an aircraft model), after finding a given
>>> named node, how to find in which direction the node is able to rotate or
>>> move. for example In this case I would want to know what an aileron or a
>>> rudder does.

I doubt that ac supports DOFTransforms. They're probably regular PATs or
MatrixTransforms and so you can't know which DOF are supported because
it's not authored/exported.

/Ulrich

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to