Hi Martin,
It's not very pritty, but from reading the code I think this will work:

animationManager->playAnimation( myAnimation );
myAnimation->setStartTime(myAnimation->getStartTime() -3.0);

Regards, Laurens.

On 3/6/2012 12:21 PM, Martin Haffner wrote:
Hi,

I have a little question about osgAnimation. When I want to start an animation 
from the beginning I make this call:

Code:
  animationManager->playAnimation( myAnimation );



Lets say I want to play animation myAnimation, but this time starting at second 
N (for example 3) and NOT from the start (second 0). In other words: I want to 
jump in the middle of an animation.
Is there a way to do this with osgAnimation?

Thank you!

Cheers,
Martin

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





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

Reply via email to