I know how to detect the collision of 2 known object by giving giving them 2 point(e.g 1 at left top and another one at right bottom corner), and i can always use those point to check whether they re in collision or not. But how do check the collision if i have many many object??
I think it is possible if i can save all the object's corner coordinates and use loop to let them check the collision with other object one by one. It would definitely very slow or use a lot of memory when the object become more and more.
So any idea to achieve this "dynamic collision" with a better way?