Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

NavigationAgent 사용하기

NavigationsAgents는 상위 노드를 상속하는 Node2D/3D에 대한 경로 찾기, 경로 따르기 및 에이전트 회피 기능을 결합한 도우미 노드입니다. 이는 초보자에게 보다 편리한 방식으로 상위 행위자 노드를 대신하여 NavigationServer API에 대한 일반적인 호출을 촉진합니다.

NavigationAgent의 2D 및 3D 버전은 각각 NavigationAgent2D 및 :ref:`NavigationAgent3D<class_NavigationAgent3D>`로 제공됩니다.

새로운 NavigationAgent 노드는 World2D/:ref:`World3D<class_World3D>`의 기본 탐색 지도에 자동으로 연결됩니다.

NavigationsAgent 노드는 선택 사항이며 내비게이션 시스템을 사용하기 위한 필수 요구 사항은 아닙니다. 전체 기능을 스크립트로 대체하고 NavigationServer API를 직접 호출할 수 있습니다.

GDScript는 GDScript 형식 문자열도 지원합니다.