- #1

- 96

- 1

## Main Question or Discussion Point

I wonder if somebody could help me with this problem I'm solving for my c language class (but it's more a mathematical problem I think).

So we have 2 different rectangles (ABCD and EFGH) in an ortogonal plane, their sides are paralel to the axes of the ortogonal system. Each of this rectangles is given a velocity vector. Now the task is to determine where the first collision will take place (where these two rectangles (their sides or corners) will meet the first time) if it will take place.

Any suggestions?

Can this problem be solved via mathematicl formulas?

thanks a lot

So we have 2 different rectangles (ABCD and EFGH) in an ortogonal plane, their sides are paralel to the axes of the ortogonal system. Each of this rectangles is given a velocity vector. Now the task is to determine where the first collision will take place (where these two rectangles (their sides or corners) will meet the first time) if it will take place.

Any suggestions?

Can this problem be solved via mathematicl formulas?

thanks a lot