Pathfinding improvements for OS

Post here your suggestions for new possible features in SmartFoxServer.

Moderators: Lapo, Bax

gl0om
Posts: 54
Joined: 30 Mar 2010, 17:39

Pathfinding improvements for OS

Postby gl0om » 04 Oct 2010, 22:54

It'd be useful to add:

bool pathExists(Room room, int x, int y, int z) // does path exist or not

and

point3d findNearestTile(int x, int y, int z, int prefered_direction)
Useful for finding nearest cell to given coordinates. prefered_direction - is an argument, pointing at most desired direction, from which I'd like to start searching nearest cell. And it'd be great to make the direction of search not clockwise or counterCW, but pairwise (For ex.: prefered_direction = N, so next searching will be in NE, next in NW, then E and then W... etc.

Return to “Features Wish List”

Who is online

Users browsing this forum: No registered users and 17 guests