For linear polynomials, there's a bunch of algorithms for efficiently determining which voxels to test for collision (eg. A Fast Voxel Traversal Algorithm for Ray Tracing ). I'm having troubles though, searching for algorithms that work when thefor any other case, such as a parabolic projectile path is non-linear (eg. affected by gravitym or perhaps even sinosoidal)arc under constant gravity.
Are there any algorithsmalgorithms for that case, or am I stuck just trying to sample at a high enough frequency that only rarely canwill a projectile travel though a wall without getting detected.