i wanted to create some kind of map with several tiles like saigumis seamless world. After loading the single tiles (just simple planes) i want to control every single mesh in some way (for example, color of vertices).
I created an array of meshes:
scene::IAnimatedMesh* tileset[x][y];
I load the tiles and everything is fine. After that i want to control the vertices of just one single mesh:
scene::IMeshBuffer* buffer = tileset[1][1]->getMesh(0)->getMeshBuffer(0);
video::S3DVertex* v = (video::S3DVertex*)buffer->getVertices();
v[0].Pos.Y=50;
The problem is, all meshes in the tileset array are called "tile.3ds". So i only can control _all_ tiles at once. But i want to control just one mesh, for example the mesh of tileset[3][4]. So what to do?
Hope someone can help me, thx