Swept AABB Collision Detection | C Game + Engine From Scratch 08
Вставка
- Опубліковано 25 лип 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-...
➤ Website: dylanfalconer.com
➤ GitHub: github.com/Falconerd
➤ Twitch: / falconerd
➤ Discord: / discord
Hmm this is interesting. I like the Minkowski difference approach. I just implemented this using a different algorithm, which finds the entry/exit distance using edge pairs along each axis, converts them to a normalized time (or alpha value, if you prefer) by dividing them by the distance of the sweep, then finds the latest entry and earliest exit of any axis, and returns true if entryTime
it's really nice to see you back!! nice video btw
Thank you :)
very nice video. keep up the good work!
Thank you
Amazing! will you handle collisions of dynamic vs dynamic in future episodes? I would love to see this.
Amazing video :)
Thanks! 😀
I love your editor and your proficiency in using it. Looks very pro. Is it vim/nvim? What plugins do you use?
Hey there, yeah it's Neovim. I changed configs between videos (again!) and jumped on the Lua train. The setup I'm using is basically exactly as described in ThePrimagen's latest video: ua-cam.com/video/x2QJYq4IX6M/v-deo.html
Plugins: nvim-cmp for autocomplete, gitsigns.nvim for git integration (I like the diffing and hunk stuff), telescope.nvim for fuzzy file search/grep and LSP stuff.
I find this combo is cleaner than my previous one, and has less unnecessary popups flashing on the screen all the time.
@@DylanFalconer Legend! Thank you!
How'd you get the != symbol? Plus the whole interface looks pretty cool, what did you do it in?
Hey there, I'm using WezTerm with ligatures turned on and the font Iosevka. WezTerm works well on Windows, but in my experience it's laggy on Linux. The editor is Neovim with some plugins (nvim-cmp, gitsigns.nvim, telescope.nvim)
What font do you use?
Iosevka
This was great before you started coding. You explained what we would be doing...but not the math required. I wish you would have explained the math before doing anything related to coding.
I'm not the best person to explain math, that's why I used geometric algebra - it's so intuitive that you can understand it visually. I have a list of recommended sources in the description if you want to dive deeper.