[4.7] Root motion/In place transition loose speed

During transition from Root Motion “start_walking” animation to in-place loop “walk/run” character speed goes down to 0 and then starts to accelerate again.

What causes that?

On the picture: Doesn’tMove bool is true when both axis values are zero

Thanks

Hi Onisanya,

I had the same issue with my setup, and upon further debugging i found out that the calculated root motion velocity from the last few frames of my “Start” animation was zero (i guess the root was not moving in those frames).

The solution i used was to setup notifies to enable and disable root motion in the “Start” animation sequence so that the calculated root motion velocity does not drop to zero and carries over to the in-place “Loop” animation.

The way i disabled/enabled root motion was by making my own AnimInstance class and having a “Blueprintcallable” function which sets the RootMotionMode variable to either ERootMotionMode::IgnoreRootMotion (disabling) or ERootMotionMode::RootMotionFromEverything (enabling).

Hope that makes sense.

Thanks