Ticking noise from truck?

I have a 2004 Ford Ranger (3.0L engine) and have recently experienced a strange ticking/tapping sound near the engine. The sound is louder from under the car and almost inaudible with the hood up, but can still be heard slightly from within the car.

I will update this question when I find the solution.
2 answers 2