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.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Aditya Ravi Shankar
About this chapter
Cite this chapter
Shankar, A.R. (2017). Physics Engine Basics. In: Pro HTML5 Games. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2910-1_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2910-1_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2909-5
Online ISBN: 978-1-4842-2910-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books