Sorry for the slow updates. This change has been really quite difficult! This program is trying to predict if a collision will occur between our aircraft and any other obstacle. The idea is this: if a collision is going to occur, then it should be possible to calculate a time, t, where that collision. I found an algorithm online that can calculate when an obstacle will intersect the different axes of our aircraft. For example, it will give three different times: tx, ty, and tz. tx is the time that the obstacle will have the same x-coordinate as our plane. So, my idea is to check to see if all three times are positive (tx > 0, ty > 0, tz > 0) and then to check how close they are to each other. Chances of them being the same number is unlikely, so instead I'm going to calculate if they are within a certain range of each (currently 2 seconds). It doesn't work consistently though...and that's what I'm working on right now. If you're curious, the function that does this calculation is willCollide(obj1,obj2) in prediction.js