[osg-users] How to reset osgAnimation (put the animation on start frame)

Julien Valentin julienvalentin51 at gmail.com
Sat Jul 27 14:58:15 PDT 2019


Hi
I think you'll have to make your own AnimationManager,
see BasicAnimationManager and TimeLineAnimationManager for example
Cheers


GiacomoB wrote:
> Hi,
> i'm using osg3.6.4 and i'm interested in osganimationviewer example.
> I found method like play, stop, next and previous animation using a 3d model with multiple  osgAnimation::Animation. Everithing work ok.
> I'm wondering if it is possible also to reset a specific animation, i mean after sent a play animation (i.e. play on  walk animation from A to B) reset that animation on A.
> I had a look on animation, channel and target file, but i couldn't reset the animation.
> 
> Thank you!
> 
> Cheers,
> Giacomo


------------------------
Twirling twirling twirling toward freedom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76517#76517







More information about the osg-users mailing list