Determining whether two axis-aligned bounding-boxes collide might look tricky at first. It becomes easier when you realize that you only need to check the projections of the boxes onto the x- and the y-axis. If both of them overlap, you have a collision.
[#]GameDev #Visualization
=> More informations about this toot | More toots from uncanny_static@chaos.social
text/gemini
This content has been proxied by September (3851b).