|
v4v4Returns the Mesh Vertex index number of the 4th 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 4th poly vertexvertIndex = poly.v4 |