dtTileCache mesh generation

92 views
Skip to first unread message

Clarence

unread,
Aug 17, 2022, 11:15:03 PM8/17/22
to recastnavigation
I have a navmesh and pathfinding that is basically perfect for me that I built using the code from Sample_SoloMesh. But later I found out about dtTileCache and would like the dynamic obstacle feature. My issue is that the navmesh generated from the code in Sample_TempObstacles appears to be incomplete compared to that from Sample_SoloMesh. I'm guessing that these lines are making the difference:


Would it be possible to build an identical mesh, presumably from this point in the Sample_TempObstacles code:


I've also tried copying the code exactly for building the navmesh from Sample_SoloMesh into the build code for Sample_TempObstacles but for some reason the tile cache wasn't working when I did that.

Help on this is greatly appreciated!

Mikko Mononen

unread,
Aug 18, 2022, 4:08:03 PM8/18/22
to recastna...@googlegroups.com
Tile cache assumes small tiles (around 32-64 squared) and does some tricks to make the update fast. It is not possible to get the same results as from a solo mesh.

--mikko

--

---
You received this message because you are subscribed to the Google Groups "recastnavigation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recastnavigati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/recastnavigation/dfed66f2-0e17-459b-8e25-31402ffa2cc5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages