|
v1v1Returns the Mesh Vertex index number of the 1st Polygon Vertex.Return Type: integer Sample Code# get controllercontroller = GameLogic.getCurrentController()# get object the controller is attached toobj = controller.owner# get the 1st meshmesh = obj.meshes[0]# get the first polygon on the meshpoly = mesh.getPolygon(0)# get the mesh vertex index of the 1st poly vertexvertIndex = poly.v1 |