Abstract
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 aspects of collision resolution in a single chapter. We shall, therefore, concentrate on some of the basics that are most commonly encountered. Specifically, we shall restrict our attention to collisions of particles with fixed walls (bouncing) and with other particles.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Dev Ramtal
About this chapter
Cite this chapter
Ramtal, D., Dobre, A. (2014). Collisions. In: Physics for JavaScript Games, Animation, and Simulations. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6338-8_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6338-8_11
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6337-1
Online ISBN: 978-1-4302-6338-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books