Hi there
Again with my problem about getting a 2d top-down map view of a 3d mesh.
I built a small test map mesh with 4 same walls, a tower at the center of the room,a roof and a floor. So I have 4 mesh buffers in the map mesh. getMeshBufferCout returns 4 as intended.
Well, I can get all the meshbuffer data with their own bounding boxes but there is apparently no way to retrieve the meshbuffer position in the map. I explain : X,Y and Z position of each buffer in the mesh. A wall at the north, at the south, ....., the tower is here, etc....
Is there any way to get this ?
Regards
[SOLVED] How to access the meshes map ?
Sorry for that post folks, I understand now how it works. If several identical meshes are connected together, side by side, getting bouding boxes from meshbuffer will return the bounding box of the resulting meshes assembly.
4 walls, 4 times the same mesh connected to make a square room results in one meshbuffer, with one bouding box.
Once understood, I can go further now. At least, I hope so !
4 walls, 4 times the same mesh connected to make a square room results in one meshbuffer, with one bouding box.
Once understood, I can go further now. At least, I hope so !