top of page

Collision Detection using AABB and Octree

Collision Detection using AABB and Octree

Collision detection between two spheres is accomplished in this project with the help of Axis-aligned Bounding Boxes and Octree. Each object is surrounded by an AABB, which is divided into 8 smaller AABBs and this sub-division continues until it reaches specified depth. Collision check is first done on the top level AABBs and if it succeeds, next level of collision checks are done. C++ is used as the programming language and Vulkan API for rendering.

About Collision Detection

SOME CODE

Octree_Collision_Code2.PNG
Octree_Collision_Code1.PNG

GALLERY

bottom of page