mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 16:54:10 +02:00
Update engine.ts
This commit is contained in:
@@ -287,7 +287,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||||||
this.camera.keysDown.push(83); // S
|
this.camera.keysDown.push(83); // S
|
||||||
this.camera.keysLeft.push(65); // A
|
this.camera.keysLeft.push(65); // A
|
||||||
this.camera.keysRight.push(68); // D
|
this.camera.keysRight.push(68); // D
|
||||||
const normalSpeed = 2;
|
const normalSpeed = 0.02 * WORLD_SCALE;
|
||||||
this.camera.speed = normalSpeed;
|
this.camera.speed = normalSpeed;
|
||||||
this.scene.onKeyboardObservable.add((kbInfo) => {
|
this.scene.onKeyboardObservable.add((kbInfo) => {
|
||||||
switch (kbInfo.type) {
|
switch (kbInfo.type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user