feat: support glb model assets

This commit is contained in:
Tom Boullay
2026-04-29 16:18:24 +02:00
parent 471424f83d
commit 3a0639bdaa
9 changed files with 59 additions and 36 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ Use the editor when you need to move, rotate, or scale existing map objects with
The editor reads the same map data as the runtime scene:
- `public/map.json` contains the object list.
- `public/models/{name}/model.gltf` contains the matching 3D model for each object name.
- `public/models/{name}/model.glb` contains the matching 3D model for each object name. `model.gltf` is still supported as a fallback during migration.
- Missing models are displayed as gray fallback cubes, so incomplete maps remain editable.
## Map Node Format