#12 initial commit

This commit is contained in:
2026-02-07 18:36:33 +02:00
parent c28286e305
commit 9cf14ff2a8
8 changed files with 141 additions and 64 deletions
+6
View File
@@ -17,6 +17,7 @@ import { DashBoard } from './Dashboard.js';
import { MotionEngine } from './MotionEngine.js';
import { Draggable } from './Draggable.js';
import { EventManager } from "./EventManager";
import { Telemetry } from './Telemetry.js';
THREE.Cache.enabled = true
@@ -130,6 +131,10 @@ class GameEngine extends EventManager{
this.gizmo = gizmo;
}
if (opts.telemetry){
this.tm = new Telemetry(opts.telemetry, opts.mode);
}
this.orbitControls = controls;
controls.enableZoom = false;
//const controls = new MapControls( camera, renderer.domElement );
@@ -588,6 +593,7 @@ class GameEngine extends EventManager{
this.clickable.removeAll();
this.motionQueue.clearAll();
this.ambientSound.stop();
this.tm?.setScene(null);
}
async playAmbientSound(source, path){