Hacker News new | ask | show | jobs
by sushsjsuauahab 1670 days ago
This can be solved by doing the following:

instead of checking "currentPosition" and "futurePosition" for a collision per frame, instead compute a sphere using those two values as bounds, and check if there are any collisions within that sphere

1 comments

By converting the whole ball movement into an object, you end up with a "pill".
The parent is talking about Continuous Collision Detection. A pill would be similar to the end result, but only at speed.