Here is a big update for the collision prediction. I've gone through 3 different models for detecting the collision with limited success.
My next idea is to extrapolate on the ray detection idea: I know that in 2D it works flawlessly with a static circle. Now, I'm going to have
the circle move in a linear direction. The mathematics was very difficult, so I used MATLAB to create the equation. Now I just need to implement
this equation ( which is in calculateT.js )
Merge https://github.com/Jochi-Labs/J3CA-main