Start animation from specific frame
#3
Thank you!
In general, it works, but if the animation has been paused, then you need to call the StopAnimation () method before StartAnimation ();

In another case, a frame will jump.

Code:
if (_assimpAnimationController.IsAnimationPaused)
{
    // Have to stop for starting from required frame
    _assimpAnimationController.StopAnimation();
    Debug.WriteLine(_assimpAnimationController.CurrentFrameNumber);
    Debug.WriteLine(AnimationSlider.Value);
    _assimpAnimationController.FrameNumberOffset = AnimationSlider.Value;
}
  


Messages In This Thread
Start animation from specific frame - by Alex3d - 01-03-2022, 04:39 PM
RE: Start animation from specific frame - by Alex3d - 01-04-2022, 12:33 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)