Open Frimkron opened 13 years ago
Further to this, if Myrmidon handled the optimisation of process-process collisions under the hood using a quadtree or grid or whatever, that would save a lot of hastle. e.g. rather than the user checking processes against one another, MyrmidonProcess (or a subclass) could provide a generator of processes that have collided with the current process that frame.
Needs testing with rotated entities.
Presumably the collision rectangle should be centered at, and rotate around, the hot spot?
I think some collision detection routines would be useful e.g. bounding box, radius