Gravity for Custom Player Pawn

Hi I have created my own custom player-controlled pawn class. It uses a custom pawn movement component. So far I have been able to make the player pawn move correctly but I don’t know how to implement gravity. Should I do it in the movement component or inside the pawn script? And how should I make it accelerate? And how do I make it stop accelerating when I hit the ground so it doens’t affect my movement? For more information on my setup I posted this in the forums: https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1403891-custom-player-controlled-pawn-actor-gravity-issue