简体   繁体   中英

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?

You need to repeat your first key frame at 0.04

Reference在此处输入图片说明

Although Scale values will lerp between 0:04 to 0:05 but it will be so fast that it will be unnoticeable.

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM