Grom
10-02-2007 20:07:49
I'm in the process of integrating nxOgre with PLSM2. I've grabbed the vertex data per tile from the terrain. A tile consists of 8,192 faces (from 4225 vertices). I'm assuming that the next step in this process is to create a body with a meshShape made from this vertex data (and then eventually cook that and just load the nxs file). How do I create a meshShape from a mesh I've created in memory?
Furthermore, the PLSM2 creates HUGE landscapes, what would be the best way to do collision upon it? I'm assuming meshShapes are best because they are static. Should I only keep bodies for the tiles surrounding the player? I imagine covering the entire map in meshShapes would slow things down.
Furthermore, the PLSM2 creates HUGE landscapes, what would be the best way to do collision upon it? I'm assuming meshShapes are best because they are static. Should I only keep bodies for the tiles surrounding the player? I imagine covering the entire map in meshShapes would slow things down.