Dear and Everyone,
James Golding had requested I make a FRect2D class,
sounds like it will be useful overall, in your endeavors
It is currently pending on Git hub
/EpicGames/UnrealEngine/pull/129
Has many intersection testing functions, including isolating 1 axis at a time.
Also my favorite feature:
You can build a FRect2D from an arbitrary number of points located anywhere!
You do not have to know min and max points of rectangle in advance!
example:
FVector2D RandomPoint1;
FVector2D RandomPoint2;
FVector2D RandomPoint3;
FRect2D NewRectFromRandomPoints = FRect2D();
NewRectFromRandomPoints += RandomPoint1;
NewRectFromRandomPoints += RandomPoint2;
NewRectFromRandomPoints += RandomPoint3;
Wherever these random points are in 2D space, an appropriate rectangle will be created from them!
You can also pass in an array of points similar to FBox (full details on Git hub)
Congrats on all your awesomeness !