Change rotation when moveing camera

I have an issue. My camera is connected to the head of the object. And my flashlight is connected to the arm of the object. So basicly i can’t make the flashlight a parent of the camera. So how do I make when i rotate the camera, that the flashlightrotates the way i move the camera? Example, if I move the camera upwards, the flashlight(or hand) moves upwards, etc.

NOTE: I’m useing mechanical animations

Make a main transform, that houses the camera and flashlight.