What it really does TransitionDuration?

Hi, I’m on the 3rd combat course and everythig works right. But if I tried and play littlebit with the float TransitionDuration I don’t know what really happen. Can explane me someone that better than in the course please.
update: Sorry, I mean the TransitionDuration in the Attack script. And if I play with the value in the inspector of Unity I can’t figure out what really this value do. Okay the name TransitionDuration it explanes himself but I don’t see some changes who are logical for me.

Thanks in advanced

TransitionDuration is the time that it takes to go from one animation to another. If you make small changes, it won’t be obvious when you run the game. I have never tried to use really big numbers to see what it is doing. If it was set to zero, the animations would snap from one to the other and not look smooth at all.

Okay, Thanks!!
I analized again. I think, a high value like 0.9 it looks like shows just the half animation of the next animation because the frames was needed for the transition.
If a small value like 0.1 the next animation starts at 10% of the animation because before the frames was needed for the transition. 10% you don’t see it but makes it smooth.
sorry for my weard english. :wink:

1 Like

Good analysis. And your English is fine. No problem understanding what you said.

:relaxed:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms