Click here to Skip to main content
15,885,216 members
Articles / General Programming / Algorithms

Simple Fast Adaptive Grid to Accelerate Collision Detection between AABB of Particles

Rate me:
Please Sign up or sign in to vote.
5.00/5 (13 votes)
16 Apr 2022GPL329 min read 16.3K   13  
A walkthrough for a grid implementation of "particle in cell" problem to improve performance of axis-aligned bounding-box (AABB) collision checking in various scenarios
There are multiple ways to find pairs of colliding objects. Even though there is an easy solution like brute-force algorithm, it is not fast enough. To help with this issue, spatial acceleration structures are used. This article attempts to calculate the impact of a spatial acceleration structure, specifically an adaptive grid implementation, on performance of finding pairs colliding particles.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions