Motion Matching (5.4) Missing Trajectory Pin

Hello,

I can’t seem to find the “Trajectory” pin referenced in this part of the motion matching intro. Is anyone else running into this issue?

Here is what the guide shows:

Here is what I see. As you can tell the “Trajectory” setting is just not there (see red line where it should be just under the database attribute).

4 Likes

Same for me.

Some for me.

It is now found in the “Pose Search” node. Add the “Pose Search” node after Motion Matching node

1 Like

How to enable the debug trajectory in Unreal Engine 5.4?

1 Like

Type this in Console : a.CharacterTrajectory.Debug 1

3 Likes

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…

same as me

Did you find any solution?

Check “Trajectory” pin in “PoseHistory” node at Animation Graph bro. I was comfused too before I found it.

has anybody got this working ? i tried with manny and quin and it didnt 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.

Hi every one , i’m still strugling to make it work , triied to follow your instruction , but still missing something …

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