Commit 3fa62b8c authored by Azizi's avatar Azizi
Browse files

Update 2-Hit.html

parent dc087d05
Pipeline #8298 passed with stage
in 5 seconds
...@@ -78,6 +78,9 @@ loader.load("https://transfer.hft-stuttgart.de/gitlab/22azah1mpg/ar_civ2/-/raw/m ...@@ -78,6 +78,9 @@ loader.load("https://transfer.hft-stuttgart.de/gitlab/22azah1mpg/ar_civ2/-/raw/m
session.addEventListener("select", (event) => { session.addEventListener("select", (event) => {
if (flower) { if (flower) {
const clone = flower.clone(); const clone = flower.clone();
// Set the desired scale for the icon.
const iconScale = 0.1; // Adjust the scale value as needed
clone.scale.set(iconScale, iconScale, iconScale);
clone.position.copy(reticle.position); clone.position.copy(reticle.position);
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