Reduce life time of Spirit instances

This commit is contained in:
2025-05-28 05:41:41 +02:00
parent 6b3cb61ef4
commit 465e2995e6

View File

@@ -296,7 +296,7 @@ class Spirit {
this.spawnY = spawnPosition.y; this.spawnY = spawnPosition.y;
this.clock = new THREE.Clock(); this.clock = new THREE.Clock();
this.isFading = true; this.isFading = true;
this.lifeTime = 30; // Sekunden this.lifeTime = 20; // Sekunden
this.spiritMeshes = []; this.spiritMeshes = [];
this.grp.add(this.gltf); this.grp.add(this.gltf);
// exakt wie im Original: rotate, platzieren, leicht nach hinten // exakt wie im Original: rotate, platzieren, leicht nach hinten