aomarks / bridgesim

A starship bridge simulator for the web.
https://aomarks.github.io/bridgesim/
16 stars 3 forks source link

collision detection should work at high velocity #31

Open aomarks opened 7 years ago

aomarks commented 7 years ago

An object moving quickly can jump through another object instead of colliding with it, since we only check for collisions by looking at bounding box positions each tick. It currently manifests as lasers not always hitting their target.

Apparently this problem is usually called tunneling and Google is full of ideas. See also Continuous Collision Detection (CCD).