Article directory
1. Achieve goals
UE performs path planning based on its own pathfinding nodes, vividly navigates splines, and realizes the automatic navigation roaming function of characters. The GIF animation is as follows.
2. Implementation process
The specific implementation process can be divided into four steps: first, set the navigation related settings for the project; second, find the navigation path points to generate the navigation spline; third, use the cable component to display the navigation route; finally, the characters walk along the spline .
2.1 Related Settings
(1) First modify the project settings to dynamically generate the navigation mesh at runtime
(2) addNavMesh