Could someone explain how using the previousFrameTime prevents getting data from the final frame of the previous animation? The simplest terms would be appreciated -struggling with this concept for some reason
Code in question:
if (normalizedTime >= previousFrameTime && normalizedTime < 1f)
{
if (normalizedTime >= _attack.ForceTime)
TryApplyForce(deltaTime);
if (_stateMachine.InputReader.IsAttacking)
{
TryComboAttack(normalizedTime);
}
}
Thank you!