Hi everyone,
I'm developing realistic billiard game. For now I've finished for predicting collision time of Circle-Circle (Thank you for Leckie,W. and Greenspan, M. POOL PHYSICS SIMULATION BY EVENT PREDICTION II:).
The position as a function of time r(t)
ball radius = R, so When circle-circle collide,
|d(t)| = 2R ---> d(t)^2 = 4(R^2) and finally the equation will be A(X^4) + B(X^3) + C(X^2) + DX + E = 0
the quartic polynomial can be solved to get exact collision time.
But now I cannot find time of Circle and Line segment collision.
Could you help me create equation for predicting collision time of moving circle and static line segment? Thank you