How Do I Add a Custom Pose Search Database to The Game Animation Sample

I would like to add my own custom animations to the game animation sample. I thought I had it figured out, but I am getting some strange behavior. In this example I am trying to add some jetpacking animations. In the chooser table, I should be switching to my jetpacking pose search database as soon as my jetpack activates.

However, the animation doesn’t switch to my jetpack animations until much later. I only have a few animations in the pose search database right now, so the animations look choppy, but the main issue right now is that they are starting way too late.

Also, you can see there that only the upper body is animating. I thought this was probably an IK issue, so I copied the curve values from existing jumping animations hoping to disable the leg IK. (All three curves are set to “1”)

Clearly that didn’t work. Why is the lower body not using my new animations?

I tried moving to the first page of the pose search database with a new stance for jetpacking. Same result.

Getting closer to the desired behavior by playing with this.

However, if I make this more positive for jumping, then sometimes I get non-in air animations when I don’t want to. And making my jeptacking cost biases more negative than -0.5 doesn’t seem to be enough for them to be chosen over the jumping animations.

Left the jumping cost biases alone and made the jetpacking continuing = -0.1, base = -1, and that seems to have mostly fixed it. Sometimes when the jetpack starts my game sort of freezes for a moment and all jetpacking events are skipped and my character ends up back on the ground. That might just be because I don’t have enough/the appropriate animations in the jetpacking PSD yet.

Still haven’t figured out why the lower body isn’t animating in air though.