1
Graphics / Fast collision detection ideas
« on: July 21, 2008, 03:30:48 pm »
Hello!
I need collision detection, but I have many many sprites (some in the view, but more outside of it), and checking whether one sprite collides with any of others would take ... uhm ... a very long time (right?). Do you have any ideas how to detect collisions more fast?
I was thinking about only checking the sprites which are displayed in the view. Is there an easy way to get them (fast)? Or do you have a completely different idea?
Cheers,
Fred
I need collision detection, but I have many many sprites (some in the view, but more outside of it), and checking whether one sprite collides with any of others would take ... uhm ... a very long time (right?). Do you have any ideas how to detect collisions more fast?
I was thinking about only checking the sprites which are displayed in the view. Is there an easy way to get them (fast)? Or do you have a completely different idea?
Cheers,
Fred