Recent content by mre521
-
M
Undergrad Question about the collision of two objects (points) in space
I can modify your sketch to test that my theory of using the iterations does work: float x1,y1=0; // object 1 position float x2,y2=0; // object 2 position float vx1=-1.2,vy1=-1.4; // velocity of object 1 float ax1 = 0.0, ay1 = 0.01; // accel of object 1 float v2=2.5... -
M
Undergrad Question about the collision of two objects (points) in space
Yes, the main issue is that the projectile moves at a specific speed at any direction but the target could be moving at any constant speed and direction. - If you aimed directly at the target and shot, the target would be gone from its position when the projectile reaches there. - Even if... -
M
Undergrad Question about the collision of two objects (points) in space
Yes, I think that this will allow me to solve my problem. So I was correct, calculus is required to do it. The actual scope of the problem is a computer game where there is a moving target and you shoot it with a projectile. So with what direction do I fire at a given time to hit the moving... -
M
Undergrad Question about the collision of two objects (points) in space
Hello. I am new to these forums. I don't really know if this is the right place to post this, but here it goes. I was thinking, what If there were two bodies (represented by points) in space (two dimensional space to keep it simple) with known position at time zero, where the first is moving...