I got it. Also in the character’s settings, I had to set “default movement mode” for on ground to flying.