mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
2b9f593e03
commit
ddafd9e517
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue