they're right but just to answer your question, you just need rectifier(1 diode for half wave or 4-diodes for full wave rectifier) after passing through those diode its already DC but there are still ripple voltages or AC components,...after rectifier you can add a regulator or voltage regulator like LM7812 if you need exact 12V., and add also a capacitor in parallel to oppose the changes in voltage level everytime the rpm changes,...
FYI this how our MC chargers work...charger should be higher a lil bit in voltage to the battery to keep charging....
Hope it will help.