Feb-28-2021, 11:44 PM
Thanks for your response. In the actual game I'm making I've got aabb collisions working, I understand that the code I posted is just drawing them and there's no collision detection in place yet. The example was just meant to be a visual that someone could add the collision code to if they wanted to. Sorry for being unclear but I think I can figure it out now, like you said it's just collisions between a circle and a series of lines and I've found some examples already on how to implement that. I appreciate the reply, hope you have a good day ^_^