Introduction
[Lecture Video]
Collisions
From Wikipedia
Collision detection is the computational problem of detecting the intersection of two or more objects. Collision detection is a classic issue of computational geometry and has applications in various computing fields, primarily in computer graphics, computer games, computer simulations, robotics and computational physics.
In physical simulation, experiments, such as playing billiards, are conducted. The physics of bouncing billiard balls are well understood, under the umbrella of rigid body motion and elastic collisions. An initial description of the situation would be given, with a very precise physical description of the billiard table and balls, as well as initial positions of all the balls. Given a force applied to the cue ball (probably resulting from a player hitting the ball with their cue stick), we want to calculate the trajectories, precise motion, and eventual resting places of all the balls with a computer program. A program to simulate this game would consist of several portions, one of which would be responsible for calculating the precise impacts between the billiard balls. This particular example also turns out to be ill conditioned: a small error in any calculation will cause drastic changes in the final position of the billiard balls.
Video games have similar requirements, with some crucial differences. While computer simulation needs to simulate real-world physics as precisely as possible, computer games need to simulate real-world physics in an acceptable way, in real time and robustly. Compromises are allowed, so long as the resulting simulation is satisfying to the game players.
Links
- https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection
- https://www.jeffreythompson.org/collision-detection/
- https://learnopengl.com/In-Practice/2D-Game/Collisions/Collision-detection
- https://happycoding.io/tutorials/processing/collision-detection
- http://cs.brown.edu/courses/gs007/lect/sim/web/murat.html
- https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript/Collision_detection
- https://www.geeksforgeeks.org/collision-detection-in-pygame/
- https://www.gamedeveloper.com/programming/advanced-collision-detection-techniques
- https://gamedevelopertips.com/unity-collision-detection-2d/
- https://research.ncl.ac.uk/game/mastersdegree/gametechnologies/physicstutorials/4collisiondetection/Physics%20-%20Collision%20Detection.pdf
- Previous
- Next