Commit 5d3f47a0 authored by Azizi's avatar Azizi
Browse files

Update 2-Hit.html

parent 7600d175
Pipeline #8201 passed with stage
in 6 seconds
......@@ -71,7 +71,7 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
})
let flower;
loader.load("https://transfer.hft-stuttgart.de/gitlab/22azah1mpg/ar_civ2/-/raw/master/public/model.gltf", function(gltf) {
loader.load("https://transfer.hft-stuttgart.de/gitlab/22azah1mpg/ar_civ2/-/raw/master/public/Unity2Skfb.gltf", function(gltf) {
flower = gltf.scene;
});
......@@ -80,7 +80,7 @@ session.addEventListener("select", (event) => {
const clone = flower.clone();
clone.position.copy(reticle.position);
// Set the desired scale for the icon.
const iconScale = 0.000001; // Adjust the scale value as needed
const iconScale = 0.1; // Adjust the scale value as needed
clone.scale.set(iconScale, iconScale, iconScale);
scene.add(clone);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment