Game Development Reference
In-Depth Information
This gives us the positions we want; however, if you look at the curve for the
Tombstone
fade - in animation, it will not look quite right, as shown here:
This is just because the curve system is doing its best to figure out what you want based
on your recordings. To give us a flatter line at the beginning of our animation and a more
linear line while the tombstone fades in, we just need to override the default behavior for
the first two animation keys. To do this, we set the tangents for each animation key appro-
priately, as follows:
1. Switch to the
Curves
view by clicking on the
Curves
button; then, right-click on
the animation key (a small diamond in the view) for
Tombstone: Sprite Render-
er.Color.a
at the position
0:00
and select
Right Tangent
|
Constant
.