Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:3917/terrain/create \ --header 'Content-Type: application/json' \ --data ' { "cell_size": 123, "height": 1, "width": 1 } '
{ "cell_size": 1, "entity_id": 11, "height": 64, "ok": true, "width": 64, "world_depth": 64, "world_width": 64 }
create a flat heightmap terrain
x >= 0
The spawned terrain entity id plus the grid dimensions and resulting world extents.