About Store Forum Documentation Contact



Post Reply 
Using 2d path
Author Message
Rollcage Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Rollcage Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Post Reply