Hello.
When offscreen do the enemies need the same level of collision detail as when on screen?
I tend to use a zonal collision system that deals with collisions in increasing levels of granularity. Ie, I'll split my world into chunks and only do collisions against those that are in the same chunk.
I think Sswift did a posting that described the same methodology very well. Perhaps have a look for that.
Goodbye.
When offscreen do the enemies need the same level of collision detail as when on screen?
I tend to use a zonal collision system that deals with collisions in increasing levels of granularity. Ie, I'll split my world into chunks and only do collisions against those that are in the same chunk.
I think Sswift did a posting that described the same methodology very well. Perhaps have a look for that.
Goodbye.