Add pathfinding API
Pls add pathfinding api to Lua API.
We can do pathfinding using Lua already, but i believe this should be done in C++ (for speed).
Something like :
minetest.env:find_path(from, to)
-- Returns a list of tuples containing X, Y, Z step coordinates.
We can do pathfinding using Lua already, but i believe this should be done in C++ (for speed).
Something like :
minetest.env:find_path(from, to)
-- Returns a list of tuples containing X, Y, Z step coordinates.