Video game animation draws on a mix of mathematics from computer graphics and artificial intelligence — both fields that take years of university study to fully master. There's no single formula; instead, developers use a range of mathematical methods for rendering, physics, and AI behavior, with many different approaches to implementing believable character intelligence.