Commit 14cf2af0 authored by Arif's avatar Arif
Browse files

Update 2-Hit.html

parent b8d9b2f4
Pipeline #8303 passed with stage
in 5 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/gltf/Unity2Skfb.gltf", function(gltf) {
loader.load("https://transfer.hft-stuttgart.de/gitlab/azizularif/ar/-/raw/master/Arif/model.gltf", function(gltf) {
flower = gltf.scene;
});
......@@ -79,7 +79,7 @@ session.addEventListener("select", (event) => {
if (flower) {
const clone = flower.clone();
// Set the desired scale for the icon.
const iconScale = 0.09; // Adjust the scale value as needed
const iconScale = 0.1; // Adjust the scale value as needed
clone.scale.set(iconScale, iconScale, iconScale);
clone.position.copy(reticle.position);
scene.add(clone);
......
Markdown is supported
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