March 2017
Intermediate to advanced
480 pages
11h 3m
English
With the basic primitive shapes defined, we can start testing for collisions. In this chapter, we are going to implement the following collision tests:
At this point, we know what the basic 2D primitive shapes are; now it's time to explore if two of them intersect. Some of these intersections are going to be simple to find, others will be a bit more challenging. For example, checking if two spheres intersect takes only a few lines of code, checking if two oriented boxes intersect requires much more work
We are going to cover the Separating ...
Read now
Unlock full access