Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: no Path 일 때, 네비게이션 창이 뜸 #50

Open
exgs opened this issue Oct 23, 2021 · 4 comments
Open

Bug: no Path 일 때, 네비게이션 창이 뜸 #50

exgs opened this issue Oct 23, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@exgs
Copy link
Member

exgs commented Oct 23, 2021

문제상황

no Path인 상점을 네비게이션 했을 때 maxstScene에서 네비게이션을 진행하는 것 처럼 UI가 띄워짐

해결해야하는 것

  1. 왜 좌표가 멀쩡한 상점이 no Path가 뜨는지 (ex: 옐로우 코너 1F)
  2. no Path일 때는 네비게이션 바가 뜨지 않도록 수정 (찾을 수 없다고 메세지를 보내야할 것 같다.)
@exgs
Copy link
Member Author

exgs commented Oct 23, 2021

스크린샷 2021-10-23 오후 9 46 06

@exgs
Copy link
Member Author

exgs commented Oct 24, 2021

UI에 대해서 처리된 이슈인가요? 또는 이 문제와 관련한 단서가 있었나요? 코엑스에서 실제테스트를 통해 확인 못해봤네요 @201611099

@201611099
Copy link
Member

처리되지 않았습니다.😢

@exgs
Copy link
Member Author

exgs commented Nov 15, 2021

noPath의 이유

해당 상점 속한 Trackable prefab을 판단하여 naviDest.getEndLocation()에서 리턴해줘야하는데, 일치하지 않아서 발생한 문제.

NavigationController navigationController = GameObject.Find("SceneManager").GetComponent<NavigationController>(); ;
navigationController.MakePath(currentLocalizerLocation, arCamera.transform.position, naviDest.getEndLocation(), location.transform.position, vPSTrackablesList.ToArray(),
() =>
{
Debug.Log("No Path2");
noPath = PopNoPath();
Debug.Log("No Path");
});

noPath의 이유

예를들어, 바로 위 문제(https://github.com/2021-metaverse-developer-contest/co-ex/issues/50#issuecomment-950147603)에 대한 직접적인 해답은 1F층에 있는 이마트을 내비게이션으로 선택한 경우, naviDest.getEndLocation() 값 대신 "outdoor"을 넣어주면 해결된다.

이마트(1F)으로 먼 길 떠나는 우주인이다.
스크린샷 2021-11-15 오후 9 05 07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants