Math for Game Developers - Bullet Collision (Vector/AABB Intersection) @JorgeVinoRodriguez
Math for Game Developers - Bullet Collision (Vector/AABB Intersection)  @JorgeVinoRodriguez
Uploaded March 2013 | Updated November 2026, 8 hours ago
We take a break from character movement this week and look at firing a bullet through our scene with a line/box intersection algorithm.

Watch part 2 here: youtube.com/watch?v=3vONlLYtHUE

Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/line-box-intersection

Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS

A viewer submitted this implementation of the algorithm in Unity: gist.github.com/exe4que/63dd6053c02dc838d24defeb097798fe
Math for Game Developers - Bullet Collision (Vector/AABB Intersection)Code for Game Developers - Loop UnrollingCode for Game Developers - Adding and Removing Characters (Entity List)#ROCKTOBER DAY 4Math for Game Developers - Bullet Whizzes (Projections)Code for Game Developers - Dijkstras AlgorithmMath for Game Developers - Maximum Projectile Altitude (Derivatives/Maximum)Code for Game Developers - A* Pathfinding#ROCKTOBER DAY 28#ROCKTOBER DAY 5Spanish for Game DevelopersFinal Fantasy 7 Original Vs Remake Part 3: Involved In Dangerous Things
Jorge Rodriguez |

Math for Game Developers - Bullet Collision (Vector/AABB Intersection)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER