TinyGo has 2 features: PathFinder and Chunk
So how they work?
PathFinder uses Godot NavigationAgent3D to find the nearest path to the target. It returns
the Vector3 of the target Location and then you can apply the position of your enemy or
anything you want it to go to a target point with the given path from PathFinder.
Chunk uses tscn scene file as Chunks to load on given distance and unload when out of
range. Chunk also has preload feature that it instantiates on given distance of preload
distance before reaches the distance to make the chunk visible. So that makes sure that
the chunk is ready before the player reached the visible distance.