From ad0a687e1b2f26bd60f99fbec371dee9528136ad Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 13 Apr 2026 17:31:27 +0200 Subject: [PATCH] Add collider properties to scene document JSON test --- tests/serialization/scene-document-json.test.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/serialization/scene-document-json.test.ts b/tests/serialization/scene-document-json.test.ts index b13ce6bc..948d173e 100644 --- a/tests/serialization/scene-document-json.test.ts +++ b/tests/serialization/scene-document-json.test.ts @@ -1256,7 +1256,16 @@ describe("scene document JSON", () => { z: -2 }, yawDegrees: 225, - modelAssetId: modelAsset.id + modelAssetId: modelAsset.id, + collider: { + mode: "box", + eyeHeight: 1.4, + boxSize: { + x: 0.9, + y: 1.7, + z: 0.8 + } + } }); const document = { ...createEmptySceneDocument({ name: "NPC Round Trip Scene" }),