|
@@ -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;
|