Create AI that follows you with motion matching and can traverse in UE 5.4 Game Animation Sample
This is a basic setup to show one way to add motion matching movement to AI characters. This also shows how to create a custom event that triggers the AI to traverse a cube.
Motion matching utilizes movement input so rather than the typical 'ai move to' you need to use 'add movement input" to control the ai. The game animation sample comes with a navmesh bounds volume already added within the scene. If you are working outside of the GAS project you will need to add a nav mesh volume to your scene and scale it to be as big as the area you want your AI to travel on.
jourverse has a more comprehensive tutorial made in 5.3 that was created before the GAS project was released but if you apply the same code in 5.4 it works.
https://www.youtube.com/watch?v=9EWN251ADt0