1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 16:25:44 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-21 11:23:18 +09:00
parent 2b9f593e03
commit ddafd9e517

View File

@@ -287,7 +287,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
this.camera.keysDown.push(83); // S
this.camera.keysLeft.push(65); // A
this.camera.keysRight.push(68); // D
const normalSpeed = 2;
const normalSpeed = 0.02 * WORLD_SCALE;
this.camera.speed = normalSpeed;
this.scene.onKeyboardObservable.add((kbInfo) => {
switch (kbInfo.type) {