One by one the GSoC projects are coming out of the gate, the latest one to get started is the Recast and Detour library integration for the BGE, allowing easier pathfinding capability and improved AI for the BGE.
Seems to be an interesting project. So if I create a nvaigation mesh and tell an object to move from a to be it will do this automatically? Would it work with a maze? Does this only work for objects residing on a ground or would it also work for flying objects? Or do I get somthing completely wrong here?
This is great. I have attempted to try and make pathfinding which uses navmeshes, but it just becomes a nightmare to manage. I am really looking forward to this. Keep posting those commit updates!
In what situations is this kind of pathfinding most useful?
is it more for single character games or will it be efficient for strategy games? shooting games? racing games? is it good with levels that change during gameplay or are loaded or even randomly generated? levels that are built of tiles?
In what situations is this kind of pathfinding most useful?
is it more for single character games or will it be efficient for strategy games? shooting games? racing games?
Should work fine for all those game types.
is it good with levels that change during gameplay or are loaded or even randomly generated? levels that are built of tiles?
I don’t think that it is set up to deal with meshes that change right now.
Hi Nick,
I tried extracting your branch and on compilation hit this error
Compiling ==> ‘BL_BlenderDataConversion.cpp’
In file included from source/gameengine/Converter/BL_BlenderDataConversion.cpp:175:
source/gameengine/Ketsji/KX_NavMeshObject.h:31:31: error: DetourStatNavMesh.h: No such file or directory
In file included from source/gameengine/Converter/BL_BlenderDataConversion.cpp:175:
source/gameengine/Ketsji/KX_NavMeshObject.h:44: error: ISO C++ forbids declaration of ‘dtStatNavMesh’ with no type
source/gameengine/Ketsji/KX_NavMeshObject.h:44: error: expected ‘;’ before ‘’ token
source/gameengine/Ketsji/KX_NavMeshObject.h:58: error: ISO C++ forbids declaration of ‘dtStatNavMesh’ with no type
source/gameengine/Ketsji/KX_NavMeshObject.h:58: error: expected ‘;’ before ‘’ token
Any idea what am I missing here. It is complaining abt missing Header file.