Reply To: (Opinion) ‘Play Animation’ Action Task could cause confusing.

NodeCanvas Forums Support (Opinion) ‘Play Animation’ Action Task could cause confusing. Reply To: (Opinion) ‘Play Animation’ Action Task could cause confusing.

#16511
Gavalakis
Keymaster

Hello again! Time flies indeed 🙂

Looking at the CrossFade method on Unity doc (https://docs.unity3d.com/ScriptReference/Animator.CrossFade.html) it seems that the CrossFade overload with hash has a default value for NormalizedStartTime of zero, while the overload with name (the one that this action is using), has a default value of NegativeInfinity. That is weird. I have now made it so that it explicitly pass 0 for NormalizedStartTime which was the intention, but if you find a use for exposing the NormalizedStartTime as a parameter to the task inspector, I can do it that way instead of course.

Let me know and thank you 🙂

Join us on Discord: https://discord.gg/97q2Rjh