"Bruce Clay" writes:

> When I walk through the nodes in the
> DOFTransform list I can see that each node has an osg::Transform but
> calling asPositionAttitudeTransform returns NULL as do many of the
> other possible converters.

That is right, because they are not PositionAttitudeTransforms, but
DOFTransform nodes.  Those as*() methods do not convert any node into
any other type; instead they are akin to a dynamic_cast.

You have to replace those specific nodes with new —created by you—
PositionAttitudeTransform nodes.

-- 
Alberto

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

Reply via email to