I have converted a nurbs path to a meshed object. How do i retrieve the vertices of this object. Here is what i have so far:
`import bge
def main():
cont = bge.logic.getCurrentController()
scene = bge.logic.getCurrentScene()
curvePath = scene.objects['NurbsPath']
mesh = curvePath.meshes[0]
print("Mesh ",mesh)
print("Materials ",mesh.materials)
length = mesh.getVertexArrayLength(0)
print("Array length ",length)
main()
This returns zero length for the vertex array, and zero materials.
How do i retrieve the vertices of the converted curve