2 ms·
This is actually a fairly common problem in game development! There are two largely used solutions: 1. Don't have fast moving objects 2. Use "continuous" collis
by Arch485 5y ago
This is actually a fairly common problem in game development! There are two largely used solutions:
1. Don't have fast moving objects
2. Use "continuous" collision detection.
Option 2 is more interesting. Continuous collision detection is, in essence, "looking ahead" at where an object is going and seeing if there are any potential collisions (typically using a bounding box or simplified geometry to save on CPU power). If there are no potential collisions, all is well, and if there is a potential collision we can then calculate its outcome.