- Edited
Hi all.
I am having a hard time figuring out how to use the 2d navigation system in Godot RC 3.
From what I can understand, the NavigationAgent2D node needs a NavMesh to know where it can navigate.
Unfortunately I cannot create this node in the Godot RC 3 edition,. Is this an issue with the current pre-release or am I approaching this wrong?
When I try to use the NavgiationAgent2D node without anything else to set the target position as
navigation_agent2d.set_target_postion(myStaticBody2D.global_position)
It returns false when I check if the object is reachable
navigation_agent2d.is_target_reachable()
If i use the "direction_to" as seen below, it works fine
position.direction_to(myStaticBody2D.global_position')