First of all,
thank you guys very much for your answers!
I really appreciate it.
The reason I wanted to use jme3-recast4j is that I tried using recast4j directly and failed miserably.
I was able to use, however, the integrated critterai Navmesh generator (after which jme3-recast4j seems to be modeled).
I have to use recast4j, because I want to weight the navmesh that is being generated. I already know how to do that and where to put that into recast4j, this is why I would prefer using recast4j.
I tried many times to use recast4j directly, but I could not get it to work.
My problem is that I seem to not fully understand the example in here ( https://github.com/MeFisto94/jme3-recast4j/blob/master/src/main/java/com/jme3/recast4j/Recast/RecastTest.java )
I tried constructing the navmesh like it’s done in that test, but when I enter my scenegraph into the file and then build the RecastConfigbuilder and all that stuff (like it is done in the Test file linked above), then the type system gives me the finger, because for example the GeometryProviderBuilder needs a Geometry, not a Spatial.
(I am not sure I can post code since this is my thesis project. Otherwise I would. But it looks almost completely like the RecastTest,java (which I obviously cite), so I think that can be taken as a refefrence)
At the moment, I do not quite understand how to give the objects of the correct datatype to the classes and methods used in the RecastTest example.
Thats why I wanted to use jme3-recast4j, because I figured it would be easier. If anyone can tell me what mistake I am making in using recast4j, it would be distinctly appreciated AND would allow me to go on without the jme3-recast4j thingy.