I am trying to learn how to use this library.
I am using it in python through
https://github.com/Tugcga/PyRecastDetour, but the simple code examples I'm trying should be the same regardless
So far I can't get anything done and hopefully someone can guide me.
What kind of geometry does init_by_raw expect?
I've tried initializing it with a simple plane, 1 1 to 1 -1 to -1 1 to -1 -1. I've tried initializing it with two adjacent planes, second one being from -1,1 to 1, 3. Nothing works. It fails at building navmesh regardless
for one plane:
get_bounding_box: ((-1.0, 0.0, -1.0), (1.0, 0.0, 1.0))
Load mesh from raw data: successfully done.
Building navigation:
- 7 x 7 cells
- 0.0K verts, 0.0K tris
Could not build Detour navmesh.
for two planes:
get_bounding_box: ((-1.0, 0.0, -1.0), (1.0, 0.0, 3.0))
Building navigation:
- 7 x 13 cells
- 0.0K verts, 0.0K tris
Could not build Detour navmesh.
Also, if I want to use recastnavigation for 2D calculations, can I somehow make this work in a more simple manner? I just need to feed it 2d coordinates of my obstacles / walkable areas.