Game Development Community

Navmesh Questions

by Sergio Seligmann Rodrigues · in Torque 3D Professional · 02/03/2011 (12:30 pm) · 3 replies

Hi, I am new to torque 3D so I need a little help =).

1) I need to get the mesh(triangle) data from a object(terrain,model,etc), so I could make the navmesh and use the A*(A Star) to find the path.

2) I need to draw a line to show where are the triangles from the mesh so I can see how the navmesh is generating the nodes.

And in advance thanks for the help

#1
02/03/2011 (6:02 pm)
We have some A implemntation resources available in the resource section Sergio. I would suggest you take a moment and search for them. I am absolutly sure they will help you accomplish what it is you want to do. Good luck!
#2
02/03/2011 (6:42 pm)
@Sergio: Check out this awesome resource by Diego Perez. Even if you don't want Recast, the code to extract a navmesh should be in there somewhere.
#3
02/04/2011 (4:18 am)
Tnx a lot guys