Log In  

Cart #35794 | 2017-01-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

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!

P#35795 2017-01-15 15:55 ( Edited 2017-01-16 10:21)

Nice I'll take a look at this. A game that I'm working on has some issues with the player getting stuck in walls sometimes.

P#35842 2017-01-16 05:21 ( Edited 2017-01-16 10:21)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-07-11 21:23 | 0.015s | 2097k | Q:23