Commit 5160e545 authored by Priyanka's avatar Priyanka
Browse files

Update 2-Hit.html

parent 1481b22a
Pipeline #7889 passed with stage
in 6 seconds
...@@ -79,6 +79,11 @@ session.addEventListener("select", (event) => { ...@@ -79,6 +79,11 @@ session.addEventListener("select", (event) => {
if (flower) { if (flower) {
const clone = flower.clone(); const clone = flower.clone();
clone.position.copy(reticle.position); clone.position.copy(reticle.position);
// Set the desired scale for the icon.
const iconScale = 0.5; // Adjust the scale value as needed
clone.scale.set(iconScale, iconScale, iconScale);
scene.add(clone); 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