I want to make mesh collider in recastGraph shpae


#1

hi, my english is poor. please understanding for this.

my purpose is like title. i want to make mesh collider in recastGraph shape.

in unity navmesh, it is so easy. i just call NavMesh.CalculateTriangulation() function,

then i can get vertex and triangle of unity navmesh. after it i make mesh collider by using this,

but, in astar project, i don’t know what to do. i use recast graph,

in recast graph, there exist GetTiles() function. so I try to get vertics and triangles by using

it. but generated meshCollider by using this. so big. it’s size not same with recastGraph shape

in scene.

some one please tell me. how can i make meshCollider same(size and shape both) like recast

graph.

thank you.