Browse Source

Merge branch 'master' into buffer-block

gemercheung 3 năm trước cách đây
mục cha
commit
2e7c02e718
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/move/move.service.ts

+ 2 - 2
src/move/move.service.ts

@@ -665,8 +665,8 @@ export class MoveService implements OnModuleInit {
       const appId = user.appId;
       const appId = user.appId;
       moveInterval = 1;
       moveInterval = 1;
       const replys = [];
       const replys = [];
-      const step = 0.4;
-      const closestDis = 45; //小于这个距离就跳到邻居呼吸点
+      const step = 0.5;
+      const closestDis = 50; //小于这个距离就跳到邻居呼吸点
       const distance = step * dir_action.speed_level;
       const distance = step * dir_action.speed_level;
       let angle = null;
       let angle = null;
       let move_angle = dir_action.move_angle + user.camera.angle.yaw;
       let move_angle = dir_action.move_angle + user.camera.angle.yaw;