About Store Forum Documentation Contact



Post Reply 
Question about "PathFind.getWalkableNeighbors "
Author Message
KraaxLeNain Offline
Member

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

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

Post: #3
RE: Question about "PathFind.getWalkableNeighbors "
Ok thx...
08-21-2014 07:50 PM
Find all posts by this user Quote this message in a reply
Post Reply