- #1

- 19

- 1

- vector = distance(A.Center, B.Center)
- angle = atan2(vector.Y, vector.X) + PI / 2
- normal = [cos(angle), sin(angle)]

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- I
- Thread starter StarWarsNerd
- Start date

- #1

- 19

- 1

- vector = distance(A.Center, B.Center)
- angle = atan2(vector.Y, vector.X) + PI / 2
- normal = [cos(angle), sin(angle)]

- #2

- 35,922

- 6,648

First, there is the question of the tangent plane at the point of contact. The normal to that could be considered a collision normal.

Next, there is the relative velocity. The direction of that vector is also relevant.

Share: