I am able to set everything up correctly, what's next?

87 views
Skip to first unread message

Jack

unread,
May 10, 2013, 4:04:25 AM5/10/13
to recastna...@googlegroups.com

[IMG]http://i.imgur.com/21QkDPO.png[/IMG]


Now that I have the tiled mesh indicated in the picture. You see first that there are incomplete tiles/half tiles. Would that affect the way I program A*? or it can be treated as a full tile? I see there is a save button there, how would I use the tiled mesh data in the pathfinding? I mean are there any docs on it?


Thanks

Jack

Jack

unread,
May 10, 2013, 4:35:35 AM5/10/13
to recastna...@googlegroups.com
There are also many triangular areas

Mikko Mononen

unread,
May 10, 2013, 12:52:07 PM5/10/13
to recastna...@googlegroups.com
Hi,

The navigation mesh looks good to me. If there is no geometry or just partial geometry within a tile, the navmesh will be build for just the navigable area.

The best way to use Recast & Detour is to integrate it into your game editor or create a command line tool to create the data as part of your asset build process.

The RecastDemo is just a collection of common use cases which you can use as basis to build your own implementation. Recast is the part of the toolkit which allows you to generate navigation meshes, and Detour is the part you use at runtime to do navigation queries on the navmesh.


--mikko



On Fri, May 10, 2013 at 1:35 AM, Jack <lucky7...@yahoo.com.hk> wrote:
There are also many triangular areas

--
 
---
You received this message because you are subscribed to the Google Groups "recastnavigation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recastnavigati...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jack

unread,
May 13, 2013, 4:28:29 AM5/13/13
to recastna...@googlegroups.com
You see that the warehouse is not connected to the road, so called. When I simulate the path follow process, the agents don't move at all. Why?
Thanks
Jack

Ben Hymers

unread,
May 14, 2013, 9:54:18 AM5/14/13
to recastna...@googlegroups.com
Probably because there's a small gap in the floor. Recast will treat that as impassable and no navmesh will be created there. If there's no connecting navmesh, there can be no path generated between the two disconnected parts. In the RecastDemo, this will result in the agents not moving. In your own game, you might choose to move them towards the closest point, or path to a different point. Or maybe you just want to put some collision geometry in the gap so it's walkable. As Mikko said, RecastDemo is just an example - feel free to take the guts of it and use them however you want!
Reply all
Reply to author
Forward
0 new messages