do you mean the pose history? I don’t have a pose search node also it seems that without this pin the motion matching node just doesn’t use the characters actual trajectory, anybody solved this? I cannot get this to work…
I have it working. Adding the pose history node as mentioned previously provides the trajectory pin, but I had to manually add the trajectory variable to the animation blueprint before I could actually use it to select the trajectory. Name the variable whatever you want, and for the variable type you want to set it to “Character Trajectory Component” which can be found by typing character into the search.
I also needed to add nodes to the update animation event to get the motion matching to change the animation being used. All the examples I’ve seen showing how to do this use functions that I can’t find in 5.4, so I just used the same nodes that were used in the initialize animation event from the example. This updates the trajectory for the motion matching, though I’m sure it’s not a great way to do this. It’s good enough for now at least.
If you’re still having issues, the ‘pose history’ node with the Trajectory pin doesn’t take the ‘Character Trajectory’ component, like set up in your variable. What it’s looking for is the trajectory data, which in 5.4 is a ‘Pose Search Query’ variable type. In the event graph or wherever you set your ‘trajectory_character’ variable, try getting ‘trajectory’ off of the pin and setting that as your new variable to use to plug in in the ‘pose history’ node of your anim graph