From 271dc88c8ad85bc9ff701aaec09bcc3a1e38b9b9 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Mon, 17 Jun 2024 17:59:09 +0000 Subject: [PATCH] Update index.html --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 6dc13d2..1a7a3fe 100644 --- a/public/index.html +++ b/public/index.html @@ -70,14 +70,14 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re let fox; loader.load("./fox/Fox.gltf", function(gltf) { fox = gltf.scene; - fox.scale.set(0.1, 0.1, 0.1); // Adjust the scale as needed + fox.scale.set(0.001, 0.001, 0.001); // Adjust the scale as needed }); session.addEventListener("select", (event) => { if (fox) { const clone = fox.clone(); clone.position.copy(reticle.position); - clone.scale.set(0.001, 0.001, 0.001); // Ensure the clone is also scaled down + clone.scale.set(2, 2, 2); // Ensure the clone is also scaled down scene.add(clone); } }); -- GitLab