diff --git a/xiaofang/Assets/Script/npc/RecuseNpc.cs b/xiaofang/Assets/Script/npc/RecuseNpc.cs index 1b102ce7..612d290f 100644 --- a/xiaofang/Assets/Script/npc/RecuseNpc.cs +++ b/xiaofang/Assets/Script/npc/RecuseNpc.cs @@ -135,7 +135,7 @@ public class RecuseNpc : MonoBehaviour float dis = Vector3.Distance(transform.position, currentTarget); // 停止条件 - if (movebool && dis <= 0.1f) + if (movebool && dis <= 0.25f) { Debug.Log("到达目标点"); nstate = Npcstate.idle;