What is Nostr?
Dioma /
npub1gde…rrgn
2023-04-27 20:49:13
in reply to nevent1q…jx24

Dioma on Nostr: #[0] gjk/epa can be used for any shapes. It's just a neat algorithm that gives you: - ...

CrunkLord420 (npub164q…rjwa) 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.
Author Public Key
npub1gdedaxg3azf088zkcs090zwtxl2c0kvw6fjzyddh4p7xedug06hs74rrgn