Making an efficient collision detection system

Posted by Sri Harsha Chilakapati on Game Development See other posts from Game Development or by Sri Harsha Chilakapati
Published on 2012-10-13T15:47:09Z Indexed on 2012/10/13 21:53 UTC
Read the original article Hit count: 280

Filed under:
|

I'm very new to game development (just started 3 months ago) and I'm learning through creating a game engine. It's located here. In terms of collision, I know only brute-force detection, in which case, the game slows down if there are a number of objects. So my question is How should I program the collisions?

I want them to happen automatically for every object and call the object's collision(GObject other) method on each collision.

Are there any new algorithms which can make this fast? If so, can anybody shed some light on this topic?

© Game Development or respective owner

Related posts about java

Related posts about collision-detection