KraaxLeNain
Member
|
Question about "PathFind.getWalkableNeighbors "
Hi,
Seen this in august update.
RE: August 2014
Released Esenthel for Windows, Android and Web:
-new method PathFind.getWalkableNeighbors
can someone tell me what this new features do ? Gives adjacent meshes of current on allowedWalkable path ? something else ?
Thx and good day to all.
|
|
08-21-2014 10:01 AM |
|
fatcoder
Member
|
RE: Question about "PathFind.getWalkableNeighbors "
This is actually for the 2D tile based path finder. Take a look at Pathfind 2D.h and check out the comments. The 2D grid is like an image in memory, where each pixel in the image is a tile and those pixels can be set to walkable or not. So this method will return a list of pixels (or tiles) around the specified position that are walkable.
|
|
08-21-2014 11:18 AM |
|
KraaxLeNain
Member
|
RE: Question about "PathFind.getWalkableNeighbors "
Ok thx...
|
|
08-21-2014 07:50 PM |
|