adjust interpolation duration based on speed, allow anim_duration to be used as a lua override to hardcoded values