Latest collisiondetection Activity
collision detection, and collision resolvement!!! a is easier than b.
In the case of small round objects (bullets, hand grenades, etc) here's what I did:
This gives you the center of AABB, and then three vectors that can be stretched on each axis (X,Y,Z). …
It took me while but I found the bug and fixed it. I rewrote most of the code for general solution. Above code is not valid anymore. Thanks.
dorcsyful said:
Do you maybe have a suggestion on how I can check if the simplex GJK returns is correct?
Store your minkowski vertices as point A and vector (A-B), rather than only A-B like you do now. Then, you can know the points on shape A and B in world space that make up the simplex on each obje…
Aloxen said:
I need it to get my game working for my school project.
Thread locked. We have a “no homework” policy here. We may need to institute a “no Pascal” rule too. :p
I chose to write an Arkanoid-like clone (see the original below), assuming this would be a relatively simple place to start with PyGame.
Arkanoid. Fresh outta the 80s.So I coded away and felt joy and satisfaction as I quickly implemented a sprite sheet loader, platform movement, block an…