One of my friends told me that some verbs have passive meanings when they are followed by a gerund, and they have both active and passive meanings when they are followed by to-infinitive. I asked him about the name of those verbs, and requested him to give some examples. He told me that 'need, require and want' are such kind of verbs, but he couldn't give any examples.
Would anybody give some examples to make this topic clear? Are there other verbs except 'want, need and require', which follow the rules stated above?