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).(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Collision of rectangles

**Physics Forums | Science Articles, Homework Help, Discussion**