Making a collision detection system
- by Sri Harsha Chilakapati
I'm very new to game development (just started 3 months ago) and I've learning through creating a game engine. It's located here. In terms of collision, I know only brutefoce 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 anybody6 sh6ed some light on this topic?
And I think of making it like the game maker
Thanks