Godot Version
Godot v4.2.1 Stable
Video
Question
I want to make it so that when enemies walk on this ramp, they can jump off of it if the player is nearby. I’m using TrenchBroom to make the maps, so I don’t know if NavigationLink will work.
Godot v4.2.1 Stable
I want to make it so that when enemies walk on this ramp, they can jump off of it if the player is nearby. I’m using TrenchBroom to make the maps, so I don’t know if NavigationLink will work.
NavigationLinks are the answer.
Everytime you want the pathfinding to recognize paths between otherwise disconnected navigation mesh surfaces you need to place navigation links to mark a persistent connection.
Does not matter what it is, a gap, a cliff, an elevator, … they all need a navigation link. Anything more complex than just dropping down a ledge also needs a custom script to handle the traversal through the link. The link only tells the pathfinding that there is a connection, it does not tell agents how to use that connection other than providing the start and end point.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.