Dioma on Nostr: #[0] have you heard of gjk/epa? Doesn't solve the tunneling issue, but it's a robust ...
CrunkLord420 (npub164q…rjwa) have you heard of gjk/epa?
Doesn't solve the tunneling issue, but it's a robust algorithm to resolving colission between all kinds of primitives. (every shape that you can write a closest point to algorithm)
I've implemented those for my own engine based on these articles before doing something simpler for the voxel engine. The code is all there. Worth checking out.
https://blog.winter.dev/2020/gjk-algorithm/
https://blog.winter.dev/2020/epa-algorithm/
Doesn't solve the tunneling issue, but it's a robust algorithm to resolving colission between all kinds of primitives. (every shape that you can write a closest point to algorithm)
I've implemented those for my own engine based on these articles before doing something simpler for the voxel engine. The code is all there. Worth checking out.
https://blog.winter.dev/2020/gjk-algorithm/
https://blog.winter.dev/2020/epa-algorithm/