Abstract
A physics engine is a program that provides an approximate simulation of a game world by creating a mathematical model for all the object interactions and collisions within the game. It accounts for gravity, elasticity, friction, and conservation of momentum between colliding objects so that the objects move in a believable way. For our game, we are going to be using an existing and very popular physics engine called Box2D.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Aditya Ravi Shankar
About this chapter
Cite this chapter
Shankar, A.R. (2012). Physics Engine Basics. In: Pro HTML5 Games. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4711-1_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4711-1_3
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4710-4
Online ISBN: 978-1-4302-4711-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books