Light position

Hy,
I have the following scenario: a sun, a fake light and a moving object. I want to know how to find the angle between my object and the sun to correctly position the light that will fake the sunlight (the light is a child to my object ) . Then I shall fade in, fade out the light by calculating the distance between the sun and the object.
Thanks