Download

Keeping track of actors in a room

Hey,

I’ve made a rudimentary room manager that keeps track of what characters and other actors enter the room. The way I have it set up now, the room manager checks for any collisions inside its volume with other actors. However, having only one collision volume isn’t conducive for the future, since there are rooms in the game I’m working on that aren’t just cubes.

I was thinking of keeping a list of box triggers or something that linked back to the room manager so that every room in my game could be an amalgamation of these box triggers, but I can’t figure out how to assign box triggers to the room manager. Any ideas on how to make this work? If there’s an easier way to keep track of actors that I’m missing, I’d love to hear that, also.