I am building a physic engine in Ogre3d and I need to have access to the vertices. I searched the wiki and found http://www.ogre3d.org/tikiwiki/tiki-index.php?page=RetrieveVertexData
But it behaves super strange. I have a cube and the function RetrieveVertexData
outputs 24 vertices and 32 indices, but I expected 8 vertices and 4*4 indices(or4*3*2 indices if the cube is build with triangles).
Is there another way to access the vertices of a mesh?