Quantcast
Viewing all articles
Browse latest Browse all 18

Why are my Mecanim animation curves not staying within the entered range?

I have an in-place animation that I added curves to (In the rigged FBX which has the animation). I created 2 float parameters in the relevant controller with the same names as the curves in the animation clip.

Now, when I get the value of the float using animator.GetFloat(), the values I get are not in the value range I entered in the curves. My range is between 0.0f and 4.0f but what I get is approximately -0.6f to 0.03f. Why is this? From what I could gather from other threads, there is some blending going on with some other curves. What is this blending? And if there is some blending happening, how can I remove that?

I’m using Unity 5.1.1.


Viewing all articles
Browse latest Browse all 18

Trending Articles