Rollcage
Member
|
Using 2d path
I know you can set up a 2d path in the engine but how do you actually use the grid for pathfinding? I see some references in pathfind.h but they seem to be private.
Thanks
|
|
10-03-2012 01:29 AM |
|
Esenthel
Administrator
|
RE: Using 2d path
Do you mean the 2d red blocks in the world editor path 2d mode?
If so then you can access that information through Game::AreaPath Game::Area::path()
This is old and it was replaced with recast pathmeshes Game::World.path and Game::Area::pathMesh()
|
|
10-09-2012 01:01 PM |
|
Rollcage
Member
|
RE: Using 2d path
Yea that's what I meant. It was just for a specific purpose and then I was wondering how to access from code.
Thanks
|
|
10-09-2012 02:02 PM |
|