AABB vs AABB Collision Detection | C Game + Engine From Scratch 07
Вставка
- Опубліковано 16 лип 2022
- If you would like to know more, here are the sources I used in no particular order:
* noonat.github.io/intersect
* blog.hamaluik.ca/posts/simple...
* github.com/pgkelley4/line-seg...
* • Handmade Hero Day 050 ... - Handmade Hero 50
* tavianator.com/2011/ray_box.html
* tavianator.com/2015/ray_box_n...
* www.deengames.com/blog/2020/a...
* Real-Time Collision Detection by Christer Ericson
Code used in recording: github.com/Falconerd/engine-f...
Pixel art for this series is custom made by Presley Carvalho. Check out his website here: perigic.com/
Background pixel art for this series is Kings and Pigs by Pixel Frog. Check it out here: pixelfrog-assets.itch.io/king...
Music for this series is from Breezy's Mega Quest by RyanAvx. Check it out here: ryanavx.itch.io/breezys-mega-...
➤ Patreon: / falconerd
➤ Website: dylanfalconer.com
➤ GitHub: github.com/Falconerd
➤ Twitch: / falconerd
➤ Discord: / discord
this is really good stuff I wish I knew earlier
Thanks! It's not too late, the tech chosen isn't going anywhere any time soon ;)
why would you use minkowski differences (which is the GJK algorithm right ?) if you only have AABBs at the moment ? wouldn't it be easier to just detect AABB collisions and then extend it to SAT or GJK for more complex shapes ?
(btw didn't watch the rest of the series, just got this randomly in my recommended lol)
I find the Minkowski solution very intuitive to understand once you extend it to sweep testing on moving aabbs. And then the step to GJK is also smaller. Plus there's so many edge cases with other methods, I can't remember off the top of my head, sadly...
Could you please share the Vim Plugin name which you are using? This autocompletion has driven me crazy)
Conquerer of Completion and GitHub Copilot
How the vector was passed by value? Is it typedef'ed to a float pointer?
Indeed, the vector math library used is datenwolf's linmath.h and it has typedef vec2 float[2]
tunneling > speedrunners favorite word ?