Skip to Main Content
Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas
book

Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas

by Dev Ramtal, Adrian Dobre
June 2014
Intermediate to advanced content levelIntermediate to advanced
508 pages
15h 11m
English
Apress
Content preview from Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas

CHAPTER 11

image

Collisions

This chapter deals with an important subject that is bound to crop up in any animation or simulation: collisions. More precisely, it focuses primarily on collision resolution—how to respond to collision events—and less on collision detection. Both collision detection and collision resolution are vast subjects in their own right. The intricacies of collision detection for general objects are outside the scope of this book (because we focus on the physics governing motion), but the situation is much simpler for collisions between particles, which is the main subject of this chapter. Similarly, it is impossible to cover all ...

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

Building a 2D Game Physics Engine: Using HTML5 and JavaScript

Building a 2D Game Physics Engine: Using HTML5 and JavaScript

Michael Tanaya, Huaming Chen, Jebediah Pavleas, Kelvin Sung

Publisher Resources

ISBN: 9781430263371Purchase book