Increase spirit lifetime to 30 seconds
This commit is contained in:
@@ -286,7 +286,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 = 20; // Sekunden
|
this.lifeTime = 30; // 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
|
||||||
|
|||||||
Reference in New Issue
Block a user