I'm currently trying to create a game that involves the inside of a cube, which i will make in Maya. My question is what is the best way to create a model with hit detection in mind?
For example my model will be a cube that you can walk inside of, so should i make the cube as a one model or make one wall and put it together inside XNA?
The reason I ask this is because I'm sure that if I create a whole cube and then use XNA's bounding rectangle method, hit detection will always be true because the bounding rectangle will encompass the whole cube, making collision detection inside the cube non existent without the use of hard values.
Whereas separate walls would make the process easier because i will checking against separate walls instead of the whole thing.
To add to the problem, I also have doors in the walls so hit detection for the walls in that area need to be turned off.
What is the best way to do this?