Search code examples
c#unity-game-engineanimationtransition

How to stop animation transitions?


Today, I learned how to add keyframes, however, When haveing 2 keyframes with different scales, instead of just going from one scale and just transforming into the other scale, it TRANSITIONS. How can I make it transform into the other scale, with not transitions?

At 0:00, the scale for x and y is 0.25.

At 0:03, the scale for x and y is 0.3_.(Specifics do not matter.)

At 0.05, the scale for x and y is 0.45.

How can I make it so that when I go from 0.00 --> 0.499999, the scale stays at 0.25, but at 0.05, the scale becomes 0.45?


Solution

  • I found the answer in a unity forum here. It says to select all wanted frames, change it to flat, and set both tangents to constant. That worked for me!