|
The example may be simple, but the outcome is invaluable. Detecting when objects collide with one another is great. Detecting collisions based on their shapes rather than their bounding boxes is even better. But what do you do with those objects once they've collided? The Collision Detection Kit is able to examine the site of a collision and approximate the angle of collision. It also knows how much overlap has occured by number of pixels. This data is returned to the programmer whenever a collision is detected, giving them the tools they need to do something about it. To learn more about how the Collision Detection Kit can make your physics engine easier to write, please reference the documentation. |