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 13: Implementing Inverse Kinematics

Inverse Kinematics (IK) is the process of solving how a set of joints should be oriented to reach a specified point in world space. For example, you could specify a point for a character to touch. By using IK, you can figure out how to rotate the character's shoulder, elbow, and wrist in a way that the character's finger is always touching a specific point.

There are two algorithms commonly used for IK, that is, CCD and FABRIK. Both will be covered in this chapter. By the end of this chapter, you should be able to do the following:

  • Understand how CCD IK works
  • Implement a CCD solver
  • Understand how FABRIK works
  • Implement a FABRIK solver
  • Implement ball-and-socket constraints
  • Implement hinge constraints ...
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