Post
Reply
CrunkLord420 gjk/epa can be used for any shapes. It's just a neat algorithm that gives you: - collision check - shortest vector to resolve penetration You need that latter one to actually know how to resolve the collision. It's not enough to know if two objects overlap. You also need to know how to best resolve that overlapping. (okay for spheres only that is trivial. But spheres and boxes?) Gjk/epa does that.
Dioma I think this was the right direction. I integrated libccd into my codebase but I found a bug trying to stack cubes. Though the MPR implementation seems to not have the issue. I found this old bug report: github.com/danfis/libccd/issues/25 Kinda surprising this is a bug considering stacking cubes is literally the first thing I tried.
⚡ 0
❤️ 0