I believe that in order for an affidavit to be accepted into evidence at trial, that the affiant needs to be available to be cross-examined? I am not an attorney, but this would seem to be necessary
Affidavits are generally hearsay and inadmissible regardless of the witness’s availability, unless it meets one of the hearsay exceptions.