Cellegen
usually it's done with an estimated substep inbetween those two positions, like 25 units for better accuracy, and see if inbetween those substeps would there be an entity which collides with it
Actually not just a substep, in many cases there's an analytical solution to see if there was a collision between two entities no matter their relative velocities