Alexrlh2 / Ecosystem

Will simulate an ecosystem with evolving AI agents
1 stars 0 forks source link

Improve efficiency of collision checking #5

Open Alexrlh2 opened 3 months ago

Alexrlh2 commented 3 months ago

Currently every object checks for collisions with every other object once per tick. There are algorithms to improve this

Im thinking the grid spatial partition pattern would be good.

This would be the World's container for all game objects

Alexrlh2 commented 3 months ago

This ticket is probably not needed until we're seeing some more performance problems