diff --git a/packages/frontend/assets/world/lobby/default.blend b/packages/frontend/assets/world/lobby/default.blend index 32fc604077..8a751fc9bc 100644 Binary files a/packages/frontend/assets/world/lobby/default.blend and b/packages/frontend/assets/world/lobby/default.blend differ diff --git a/packages/frontend/assets/world/lobby/default.glb b/packages/frontend/assets/world/lobby/default.glb index 51f276edf7..75518d5e82 100644 Binary files a/packages/frontend/assets/world/lobby/default.glb and b/packages/frontend/assets/world/lobby/default.glb differ diff --git a/packages/frontend/src/world/engine.ts b/packages/frontend/src/world/engine.ts index cbe5926a06..abd242870f 100644 --- a/packages/frontend/src/world/engine.ts +++ b/packages/frontend/src/world/engine.ts @@ -232,6 +232,20 @@ export class WorldEngine extends EventEmitter { this.textMaterial.useAlphaFromDiffuseTexture = true; this.textMaterial.freeze(); + { + const messageRing = envObj.meshes.find(m => m.name.includes('__LED_RING__')); + messageRing.rotation = messageRing.rotationQuaternion.toEulerAngles(); + messageRing.rotationQuaternion = null; + + const anim = new BABYLON.Animation('', 'rotation.y', 60, BABYLON.Animation.ANIMATIONTYPE_FLOAT, BABYLON.Animation.ANIMATIONLOOPMODE_CYCLE); + anim.setKeys([ + { frame: 0, value: 0 }, + { frame: 5000, value: -(Math.PI * 2) }, + ]); + messageRing.animations = [anim]; + this.scene.beginAnimation(messageRing, 0, 5000, true); + } + { const messageRingRoot = new BABYLON.TransformNode('', this.scene); const messageRing = envObj.meshes.find(m => m.name.includes('__MESSAGE_RING_OUTER_1__')); @@ -298,7 +312,7 @@ export class WorldEngine extends EventEmitter { setInterval(() => { text.write(Date.now().toString()); - }, 100); + }, 10); } { @@ -463,7 +477,7 @@ export class WorldEngine extends EventEmitter { const screenMaterial = screenMeshes[0].material as BABYLON.PBRMaterial; setTimeout(() => { - const tex = new BABYLON.VideoTexture('', 'http://syu-win.local:3000/files/902a2d52-9d4a-41a7-8e0d-e206c99c2299', this.scene, true, true); + const tex = new BABYLON.VideoTexture('', 'http://syu-win.local:3000/files/931c02c3-6238-4c29-9371-06bab78950bb', this.scene, true, true); tex.level = 0.5; tex.video.loop = true; tex.video.volume = 0.25;