BVH vs Spatial Hash

Please don't post Bullet support questions here, use the above forums instead.
Post Reply
apapaxionga
Posts: 19
Joined: Mon Jul 14, 2014 9:05 pm

BVH vs Spatial Hash

Post by apapaxionga »

BVH and Spatial, which is more suitable for broad phase collision detection for deformable body? Considering self-collision, I think spatial hash is more suitable. Does spatial hash have any other advantages or disadvantages?
Remotion
Posts: 22
Joined: Sat Sep 24, 2005 10:01 pm

Re: BVH vs Spatial Hash

Post by Remotion »

IMHO spatial hash is better only if you have a lot of independent particles or you have a lot of breaking, tearing...
For deformable bodies BVH is usually better.
Of course this is highly dependent of how BVH and Spatial Hash implemented.
Post Reply