Paul Martz wrote:
> Hm. osg::Sequence nodes support OpenFlight Group record animations, and
> OpenFlight supports a "backwards" flag. However, upon closer inspection of
> the OpenFlight loader, I see that the backwards flag is essentially
> ignored...

You can make the Sequence run backwards with

seq->setDuration(-1.0f, -1);

The first parameter is basically the speed relative to real-time (1.0
meaning real-time) and the last parameter is the number of iterations
(-1 means indefinitively).

Cheers,
/ulrich

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

Reply via email to