Root Motion has Gravity

Hi there.

I have an animation that uses Root Motion.
The Root Motion however is affected by gravity.
I don’t want that. I already tried using the Flying MOvement Mode, but even then the Character falls down.

The AnimBP is set to Montage Only and the Montage is used in the AnimGraph.

Edit: I solved the problem. I had a node “Set Movement Mode” directly after the Play Montage Node.