DOI QR코드

DOI QR Code

Efficient Controlling Trajectory of NPC with Accumulation Map based on Path of User and NavMesh in Unity3D

  • 투고 : 2020.03.16
  • 심사 : 2020.04.01
  • 발행 : 2020.04.29

초록

본 논문에서는 사용자의 경로를 기반으로 가중치 맵을 계산하고, 이를 이용하여 게임이나 가상현실과 같은 인터랙티브 가상 환경에서 논플레이어 캐릭터(Non-playable characters, NPC)의 위치를 효율적으로 제어할 수 있는 방법을 제시한다. 우리의 방법은 사용자의 움직임을 참조하여 NPC에 새로운 경로를 제공하는 네비게이션 메쉬를 자동으로 구성한다. 우리의 방법은 시간이 지남에 따라 사용자가 주로 다니는 길목을 정확하게 찾아내기 때문에 가상환경에 적응형으로 자동 변경이 가능하고, 사용자가 선호하는 경로를 가중치로 스마트 에이전트와 같은 움직임을 만들어 낼 수 있다. 우리는 비디오 게임이나 가상현실과 같은 인터랙티브 환경의 몇 가지 예제 시나리오를 통해 본 논문에서 제안하는 알고리즘의 유용성 테스트를 실험했다. 실제로 우리의 프레임워크는 인터랙티브 환경을 활용하는 모든 유형의 탐색에 쉽게 적용 할 수 있다.

In this paper, we present a novel approach to efficiently control the location of NPC(Non-playable characters) in the interactive virtual world such as game, virtual reality. To control the NPC's movement path, we first calculate the main trajectory based on the user's path, and then move the NPC based on the weight map. Our method constructs automatically a navigation mesh that provides new paths for NPC by referencing the user trajectories. Our method enables adaptive changes to the virtual world over time and provides user-preferred path weights for smartagent path planning. We have tested the usefulness of our algorithm with several example scenarios from interactive worlds such as video games, virtual reality. In practice, our framework can be applied easily to any type of navigation in an interactive world.

키워드

참고문헌

  1. L. E. Kavraki, P. Svestka, J.-C. Latombe, and M. H. Overmars, "Probabilistic roadmaps for path planning in high-dimensional configuration spaces," IEEE transactions on Robotics and Automation, vol. 12, no. 4, pp. 566-580, 1996. DOI:10.1109/70.508439
  2. M. G. Choi, J. Lee, and S. Y. Shin, "Planning biped locomotion using motion capture data and probabilistic roadmaps,"ACM Transactions on Graphics, vol. 22, no. 2, pp. 182-203, 2003. DOI:10.1145/636886.636889
  3. A. Kamphuis and M. H. Overmars, "Finding paths for coherent groups using clearance," ACM SIGGRAPH/Eurographics Symposium on Computer Animation, 2004, pp. 19-28. DOI:10.1145/1028523.1028526
  4. Y. Li and K. Gupta, "Motion planning of multiple agents in virtual environments on parallel architectures," in Proceedings 2007 IEEE International Conference on Robotics and Automation, 2007, pp. 1009-1014. DOI:10.1109/ROBOT.2007.363117
  5. J. Van Den Berg, S. Patil, J. Sewall, D. Manocha, and M. Lin, "Interactive navigation of individual agents in crowded environments," Interactive 3D Graphics and Games, 2008. DOI:10.1145/1342250.1342272
  6. J. Pettre, P. d. H. Ciechomski, J. Maim, B. Yersin, J.-P. Laumond, and D. Thalmann, "Real-time navigating crowds: scalable simulation and rendering," Computer Animation and Virtual Worlds, vol. 17, no. 3-4, pp. 445-455, 2006. DOI:10.1002/cav.147
  7. J. Pettre, H. Grillon, and D. Thalmann, "Crowds of moving objects: Navigation planning and simulation," In Proceedings IEEE International Conference on Robotics and Automation, 2007, pp. 3062-3067. DOI:10.1109/ROBOT.2007.363937
  8. A. Sud, E. Andersen, S. Curtis, M. Lin, and D. Manocha, "Real-time path planning for virtual agents in dynamic environments," IEEE Virtual Reality Conference, 2007, pp. 91-98. DOI:10.1109/VR.2007.352468
  9. Sud, A., Gayle, R., Andersen, E., Guy, S., Lin, M., Manocha, D.,"Real-time navigation of independent agents using adaptive roadmaps," ACM Symposium on Virtual Reality Software and Technology, vol. 1, pp. 99-106, 2007. DOI:10.1145/1315184.1315201
  10. P. E. Hart, N. J. Nilsson, and B. Raphael, "A formal basis for the heuristic determination of minimum cost paths," IEEE transactions on Systems Science and Cybernetics, vol. 4, pp. 100-107, 1968. DOI:10.1109/TSSC.1968.300136
  11. A. Stentz, "Optimal and efficient path planning for unknown and dynamic environments," Carnegie-Mellon University Pittsburgh Pa Robotics Lab., Tech. Rep., 1993. DOI:10.1.1.15.3683
  12. B. Stout, "The basics of a* for path planning, game programming gems," 2000.
  13. C. Thompson, "Halo 3: How microsoft labs invented a new science of play," Wired Magazine, vol. 15, no. 9, pp. 15-09, 2007.
  14. E. Guzman, "Valve thrills fps fans with new counter-strike game," 2011.
  15. I. T. A. Havok, "en linea," Intel Corporation, vol. 15.
  16. G. Comeau and A. Paramonoff, "Data path engine," Dec. 6 2001, US Patent App. 09/871,481.
  17. Marek Kopel, Tomasz Hajas, "Implementing AI for Non-player Characters in 3D Video Games," Intelligent Information and Database Systems, pp. 610-619, 2018. DOI:10.1007/978-3-319-75417-8_57