Hello,
Why we cannot use MergeMeshes with CreateGroundFromHeightMap ?
We have the error : RuntimeError: Positions are required
With CreateGround it works.
Playground
If this is not a bug, how we are supposed to use Recast plugin with CreateGroundFromHeightMap ?
Thanks
Hi, it’s not a bug, it’s because the mesh is not ready until the heightmap is loaded, and it’s asynchronous.
There’s an “onReady” callback in CreateGroundFromHeightMap, you can do the merge here.
1 Like
I updated the playground and it is working, thank you
2 Likes