note about contribution
parent
f270480db7
commit
b8f410097b
|
@ -17,3 +17,5 @@ The solution? Broad-phase collision detection.
|
||||||
The purpose of the broad-phase is to very quickly check if an object *might* be touching another object. Then, once we know that an object might be touching another object, we can do a more expensive and accurate test.
|
The purpose of the broad-phase is to very quickly check if an object *might* be touching another object. Then, once we know that an object might be touching another object, we can do a more expensive and accurate test.
|
||||||
|
|
||||||
There are a few different ways to do this. The only way that Bonk currently implements is the *spatial hash* technique.
|
There are a few different ways to do this. The only way that Bonk currently implements is the *spatial hash* technique.
|
||||||
|
|
||||||
|
There are advantages and drawbacks to spatial hashing. The main drawback is that it does not handle objects of wildly varying size very well. I do not currently have time to implement alternatives to spatial hashing, but this project is free software... if you would like to contribute a BSP implementation, for example, I would be overjoyed!
|
Loading…
Reference in New Issue