Robert,
Thanks for this. It works well. When I get a moment, I'll write up a
patch for the osganimate example to add a play/pause function.
Regards,
Phil.
On 21/05/2009, at 10:48 AM, Robert Osfield wrote:
In the NodeiVisitor simply do:
void apply(osg::Transform& tranform)
{
osg::AnimationPathCallback* apc =
dynamic_cast
<osg::AnimationPathCallback*>(transform.getUpdateCallback());
if (apc)
{
// do your stuff...
}
}
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org