I noticed a lot of people have questions about collision detection and response. This is my first attempt at axis aligned bounding boxes. The collision detection works great, but the collision response could use work. I have to call the collision detection function twice per frame, for detecting collisions on each axis, which seems wasteful. Also, the objects move over each other on the y axis a bit:/ idk why. I would appreciate any suggestions, also, please use this if you find it helpful!
[Please log in to post a comment]