There were compile errors for me when I tired to add the line in the BeginPlay() function. Can you try using GetCharacterMovement() in place of BMovementComponent inside the Move_YAxis() function?
There were compile errors for me when I tired to add the line in the BeginPlay() function. Can you try using GetCharacterMovement() in place of BMovementComponent inside the Move_YAxis() function?