Open WindowsHyun opened 6 years ago
1 you have got points from u3d,right?
2 and you want to know 'how to make .bytes file' like my example ?
the format :
first line: all point list. p0,p1,p2,p3.....
second line: index list, how to make triangle . 0;1;2; means p0,p1,p2. 0;2;3; means p0,p3,p3
triangle1 has 3 points p0,p1,p2 trangle2 has 3 points p0,p2,p3 trangle3 ...
MapReader.cs shows all steps,
I feel very grateful for your project.
I have a question about loading a map in your libdetour project.
Navmesh data extracted from Unity ex) v 0.6666667 30.00314 42.66667 v 42.66667 30.00314 42.66667 ... f 1/1/1 2/2/2 3/3/3 f 1/1/1 3/3/3 4/4/4 ...
The extraction is done as above. However, the map you created is shown below.
ex) 1.666667,0.04833334,1.6; 1.266667,0.04833334,15.46667; ... 0, 1, 2, 0, 2, 3; ...
I do not know how to create maps or map extraction methods.
I would really appreciate your help.