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
I’m aware this is a old topic but I haven’t seem to found a straight answer regarding this issue till today after screwing around in the plugins tab, for anyone who ends up having this issue I found a very simple fix. I like most people couldn’t find the “CharacterTrajectory” option in the “Components” tab when pressing the “Add” button. What you have to do in order for the feature to show up is to first go into your plugins and search up “Motion Trajectory”. Once you enable the feature you’ll be prompted to restart your engine and once you do so the option should show up.
Separate Note: I’m not 100% sure if this is also needed to be enabled, let’s say if you were to enable “Motion Trajectory” and you still can’t get the “Character Trajectory” option to show up I’d suggest trying to enable “Pose Search”.
I’ll go ahead and leave two screenshots for the “Motion Trajectory” and “Pose Search” .