Game Physics Engine Development
How to Build a Robust Commercial-Grade Physics Engine for your Game
- Ian Millington, Ian Millington is a consultant specializing in research and development for the games industry. He has done a good deal of work on physics engines and developing physics code. He was previously the CEO of a games technology company, and before that he ran one of the first web-based games companies. Millington's background is in artificial intelligence, and he has published academically on a range of topics. Ian Millington is author of Artificial Intelligence for Games (MK).
The physics ENGINE is a computer program that you work into your game that simulates Newtonian physics and predict effects under different conditions. In video games, the physics engine uses real-time physics to improve realism.
This is the only book in its category to take readers through the process of building a complete game-ready physics engine from scratch. The Cyclone game engine featured in the book was written specifically for this book and has been utilized in iPhone application development and Adobe Flash projects. There is a good deal of master-class level information available, but almost nothing in any format that teaches the basics in a practical way. The second edition includes NEW and/or revised material on collision detection, 2D physics, casual game physics for Flash games, more references, a glossary, and end-of-chapter exercises. The companion website will include the full source code of the Cyclone physics engine, along with example applications that show the physics system in operation.
AudienceBeginner-Intermediate: Students, aspiring game developers, and working game developers who are moving into physics development for games.
- Published: July 2010
- Imprint: MORGAN KAUFMANN
- ISBN: 978-0-12-381976-5
Praise for 1st edition: "The first game physics book to emphasize building an actual engine...his book fills a gap by demonstrating how you actually build a physics engine." - Dave Eberly, President, Geometric Tools. "A competent programmer with sufficient mathematical sophistication could build a physics engine just from the text and equations--even without the accompanying source code. You can't say this about a lot of books!" - Philip J. Schneider, Industrial Light & Magic.
Table of Contents
The structure of the book would be the same as the first edition, with various changes along the way. The TOC is as follows, a description of the changes follows.
- The Mathematics of Particles
- The Laws of Motion
- The Particle Physics Engine
- Adding General Forces
- Springs and Spring-like Things
- Hard Constraints
- The Mass-Aggregate Physics Engine
- The Mathematics of Rotations
- Laws of Motion for Rigid Bodies
- The Rigid-Body Physics Engine
- Collision Detection*
- Generating Contacts*
- Collision Resolution
- Resting Contacts and Friction
- Stability and Optimization
- Putting it All Together
- Other Types of Physics*
- Two Dimensional Physics*
* indicates a chapter with significant new material.