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.
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;
}
