This commit is contained in:
dldydtn9755-crypto
2026-06-24 18:22:25 +09:00
357 changed files with 349468 additions and 1353 deletions

View File

@@ -66,8 +66,10 @@ public void Relocate(GameObject target, Transform destination)
if (target.TryGetComponent(out NavMeshAgent agent) && agent.isOnNavMesh)
{
Debug.Log($"엔드포지션 : {destination.position}");
agent.Warp(destination.position);
target.transform.rotation = destination.rotation;
Debug.Log($"이동한포지션 : {target.transform.position}");
}
else
{