Another Efficiency question.
Posted: Fri Aug 24, 2012 7:45 pm
First of all, I apologise for all the questions Norbo. I'm just new to physics engines and I'd rather get this out of the way now than have to change things later on. You'll hear less and less from me as I advance!
So I'd like to know more about the efficiency of terrain collisions. My game will have up to 1000-2000 bricks on a terrain. On top of that there will be various characters in play at the same time.
The thing is, I'm gonna restrict the bricks to flat parts of the terrain (as they will be stacked on each other). Would it therefore make sense to have invisible platforms under these flat terrain
areas so the bricks just rest on those instead, removing the need for the brick/terrain collisions? Only the characters would then need to collide with the terrain. (I could also have smaller terrain squares which would allow more detailed vertex-based texturing)
Can you give me any idea of how much more efficient this would be and also what's the easiest way to create a situation where there are 2 independent simulations running like this (bricks+planes and terrain+players)? Use 2 different Space() constructors? Or just 1 and stop certain models from interacting with each other?
Thanks in advance!
So I'd like to know more about the efficiency of terrain collisions. My game will have up to 1000-2000 bricks on a terrain. On top of that there will be various characters in play at the same time.
The thing is, I'm gonna restrict the bricks to flat parts of the terrain (as they will be stacked on each other). Would it therefore make sense to have invisible platforms under these flat terrain
areas so the bricks just rest on those instead, removing the need for the brick/terrain collisions? Only the characters would then need to collide with the terrain. (I could also have smaller terrain squares which would allow more detailed vertex-based texturing)
Can you give me any idea of how much more efficient this would be and also what's the easiest way to create a situation where there are 2 independent simulations running like this (bricks+planes and terrain+players)? Use 2 different Space() constructors? Or just 1 and stop certain models from interacting with each other?
Thanks in advance!