Well the CharacterMovement component does have the friction option, what prompted you to use a custom pawn?