particle system as interactive object

This commit is contained in:
2025-11-05 17:31:21 +02:00
parent 4b722750c3
commit fd3f9a6d69
11 changed files with 165 additions and 84 deletions
+1
View File
@@ -482,6 +482,7 @@ class GameEngine extends THREE.EventDispatcher{
let mouse = this.getMouseVector(mouseEvent, domElement);
this.raycaster.setFromCamera(mouse, this.camera);
this.clickable.update(mouse, this.camera, mouseEvent);
this.hero?.characterControls?.idleReset();
}
autoScale(object, mk = 1) {