This commit is contained in:
2025-11-21 17:27:10 +02:00
parent 144c5b9407
commit fbce0bd81c
+3 -1
View File
@@ -32,6 +32,7 @@ export default {
unmounted(){
window.removeEventListener('resize', this.resize);
gameEngine.clearScene();
gameEngine.stop();
},
@@ -143,7 +144,7 @@ export default {
env.scene.traverse(o=>{
if (o.name == 'Sphere'){
console.log('Fixing ground. TODO!!!')
gameEngine.physics.add(o, 'fixed', true, undefined)
gameEngine.physics.add(o, 'fixed', true, undefined, 'mesh', { root: env.scene})
}
})
}
@@ -223,6 +224,7 @@ export default {
}
gameEngine.dashboard?.loading(1)
gameEngine.physics.start();
},
targetPointerDown(){