Skip to Main Content
Hands-On C++ Game Animation Programming
book

Hands-On C++ Game Animation Programming

by Gabor Szauer
June 2020
Beginner to intermediate content levelBeginner to intermediate
368 pages
7h 23m
English
Packt Publishing
Content preview from Hands-On C++ Game Animation Programming

Chapter 12: Blending between Animations

The transition from one animation to another can be jarring. Imagine if a character is in the middle of a punch and the player decides that they want to start running. If the animation just switches from the jump clip to the run clip, the transitions will be hard and unnatural.

Animation blending can fix this by generating intermediate frames that are an average of both animations. This fade is usually short—a quarter of a second or less. The smooth animated transition generated by this short blend provides a much better looking experience.

This chapter explores how to implement animation blending and additive animation blending and how to set up a crossfade controller to manage a blend queue. The following ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning C++ Game Programming

Beginning C++ Game Programming

John Horton

Publisher Resources

ISBN: 9781800208087Supplemental Content