Hello!

How can/should I synchronize the application flow-control to the end of
an animation (realized as osg::AnimationPath) ?

Assume: we have a projectile that should be animated.
1. we calculate the trajectory and setup the animation-path with some 
trajectory data.
2. then the animation-path will be applied to the projectile-node (the
exact way to do this, is still vague to me; the only information source
I found untill now, is the osganimation example, which handles only a
single animation type, with endless animation)

3. == now: how can I sync the rest of the application with the end of the
projectile-animation ? ==
e.g. expand scene graph with new data, start other animation(s), etc...

The way with polling the timer seems somehow crude to me... There should
be a better way ?! (better documentation !)

Thanks,
Alexej



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

Reply via email to