Need an auto targeting system, or just a targeting system in general this is the perfect library for you, contains one demo for you to mess around with.
Download the Zip, until i can find a good direct download website