Godot Version
Godot 4.2
Question
how do I go on about using the navigation link I am completely blank. the docs gave not too much help. Any help is much appreciated.
Godot 4.2
how do I go on about using the navigation link I am completely blank. the docs gave not too much help. Any help is much appreciated.
This video covers it.
It has the 2D and the 3D version using Godot 4.1.1 (it should not be too different)
IMO it’s more straightforward than typing the step by step guide here.
I hope it helps!
I tried using sadly for me it worked not. And according the the Docs “NavigationLinks do not move agents between the two link positions by themselves.”
Yeah I have followed the same tutorial and its not working for me either. The agent just gets stuck at the start of the navigation link and nothing happens
So just an update to this incase anyone is wondering:
NavigationAgent3D has a signal called “link_reached”, which is sent out when the agent reaches the link and contains data such as the link’s exit position that can be accessed thru the “details” dictionary that comes with the signal.
So then, when the signal is received, in code you can make your agent perform a custom action. I myself made it jump towards the link’s exit and that worked fine
Hope anyone found this useful :3