Space partitionning related questions

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Space partitionning related questions

Post by Roland_Yonaba »

Hi Codex,
Interesting thoughts in there.
Well, there are many broad-phase processing techniques. They all have their benefits and drawbacks.
In my specific case, all entities have approximately the same size, so uniform-grids works perfect here.
The drawback of spatial hashes, according to the random lectures i had to do, is their inability to deal with objects
of greatly varying sizes. Like in an asteroids game for instance, as you described it.

But, this is something that hierarchical grids can perfectly handle. You might want to take a look at this paper! :awesome:

EDIT:
Codex wrote:I've got a really cool idea for a space game later, but collision detection is something I'm still trying to figure out. (still experimenting with SAT)
Wait...Isn't SAT classified amongst narrow-phase processing techniques ?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests