🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest collisiondetection Activity
![How does SWEPT AABB collision work in 3D space with objects of different sizes?](https://uploads.gamedev.net/forums/monthly_2024_03/ff61b4b83a684f5b86bdf9444773bc15.collision.jpg)
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
Thank you!
![syncing hit detection with animation in UE4](https://uploads.gamedev.net/forums/monthly_2022_01/35eee01d3c1340d39e4b8ea40e4d9f87.image.png)
Hello everyone,
I am trying to figure out how diablo4 does the new animated hit detection in this video:
As you can see the gree damage area gives a better feeling of “hit”. I really want to simulate this in unreal engine with c++. I have created a simple scenario: player clicks on attack, ani…
fudgeracoon said:
I'm writing my very first 2D game engine in C++ and SDL2. I wrote a very simplistic
RigidBody
class that computes the resultant force, applies forces and simulates gravity. I also wrote aBoxCollider
class and aQuadTree
class which as any game dev would know manages collisions. Ev…
![Arkanoid and PyGame Collision Detection](https://uploads.gamedev.net/blogs/monthly_2020_06/250dda7f156e4b1a8d1f58662ab93122.download.jpg)
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…