Bounding Box Collision Detection - Game Coding Tutorial

preview_player
Показать описание
Working out when objects hit each other is one of the fundamental problems in games programming. Missiles hitting aliens, players hitting walls, characters hitting each other - all these events have to be calculated by our code.

In this, the first of my collision detection series we'll have a look at axis aligned bounding box collision detection.

This is the simplest form of collision detection. Whilst it has some limitations it is blisteringly fast to execute with very little processing power required to get a reasonably accurate answer. As such we'll see that even if you need to have a more accurate collision detection algorithm, this one is still essential for filtering out the obvious misses.

I cover the theory and explain the conditions and tests you need to carry out to make the algorithm work, but leave it to you to develop your own code in the language of your choice.

If you visit the tutorial page in my website you'll get more information and a working demo with source code.

For more information and other tutorials make sure you check out my channel and website.

Рекомендации по теме
Комментарии
Автор

Thank you for allowing a hearable volume.

johnhouser
Автор

I am learning game maker and found the same algorithm implemented but didn't fully get it until I watched your video, thank you !!

DiceDrivenGameDev
Автор

Oh baby, this is what ive been looking for!
Your content is actually really high quality compared to other coding youtubers
Bytes, you really helped me out here! I am honnered to be a subscriber to your channel!

As a piece of advice: Maybe put some Timestamps in the description as some of your video's are close to an hour long. This makes it easier to navigate to information you need

RikThePixel
join shbcf.ru