Hi.
-
Name 2 methods for detecting collisions in a game.
-AABB or Ray Casting - Describe roughly how they work.
- AABB (Axis aligning blending box), based on x/y axis.
-Ray Casting, here you calculated the distance between the objects. We project a line in a distance and check if it goes through anything.