update some copy on GJK2D to make it more clear

main
Evan Hemsley 2019-09-15 13:45:46 -07:00
parent 6e280dfc04
commit be4466703b
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ var transformB = new Transform2D(new Vector2(1, 1));
var (result, simplex) = GJK2D.TestCollision(circleA, transformA, circleB, transformB);
```
Note that this method returns two variables. The first is whether an overlap has occurred. The second is the simplex. You can think of the simplex as a key that helps you find the minimum separating vector. Note that if there was no collision, the value of the simplex is irrelevant.
Note that this method returns two variables. The first is whether an overlap has occurred. The second is the termination simplex. You can think of the termination simplex as a key that helps you find the penetration vector with *EPA2D*. Note that if there was no collision, the value of the simplex is irrelevant.