Fictional character type?

I have an idea for a science fiction story. There plot requires that the protagonist speak to a "mentor" who nobody else sees. The "mentor" is the deceased spirit image of his favorite social science instructor his university days (looks a lot like Morgan Freeman). The "mentor"... show more I have an idea for a science fiction story. There plot requires that the protagonist speak to a "mentor" who nobody else sees. The "mentor" is the deceased spirit image of his favorite social science instructor his university days (looks a lot like Morgan Freeman).

The "mentor" offers moral guidance, and helps him brainstorm.

The sessions with the mentor will work something like a "flashback". What do you call the type of character the "mentor" represents?
7 answers 7