When a motion is based on facts not appearing of record the court may hear the matter on affidavits presented by the respective parties, but the court may direct that the matter be heard wholly or partly on oral testimony or depositions.
Id. Fam. Law. P. 513