hello I'm from Brazil "google translator kk"
try this
create a global variable called move or any name.
Then create two fsm
"FSM 1" put these actions in this sequence and check all and every frame per second checkbox
State Start
1. "Get Vector3 XYZ" and save the Y
2. "Get Axis Vector" set the multiplier for a variable called speed, set the speed according to your needs - put in Store Vector move global variable and store the magnitude
3. "Vector3 Clamp Magnitude" here put the global variable and set the Max Length variable speed, so when you move the cross there is no speed increase.
4. "Float Subtract" here subtract the variable that you put in Y by gravity that you want.
5. "Set Vector3 XYZ" set the global variable move and place the Y value that was subtracted in y
Move 6.Controller put the global variable here
"FSM 2"
State Start
1. "Controller Is Grounded" here put in a transition Finish true and check every frame
second state
1. "Get Vector3 XYZ" save the Y value of the global variable move
2. "Float Compare" compare the Y value to -1 and set a transition to be less than for the next state and another if less back to the first state. check all every frame.
third state
1. "Set Vector3 XYZ" set the global variable move and place the Y value to -1. not check every frame and place a transition back to the state start
2."Next frame event"
I think this works