how to parent my sun to environment hdri? I set a keyframe for my hdri location via texture coordinates.
now I wanna make it parent to my sun so that the sun follows the hdri location.
I tracked my sun to my object and now want to parent my hdri to my sun.
please let me know if there is away.If not,I will draw a path and sync the rotation by that.
but If there is a way to parent the world rotation to light please let me know.
in cycle
One solution (and probably needlessly complicated) is driving the Sun rotation from the HDRI

Add nodes to your HDRI Mapping node like in the second image
Go Value node &gt; RMB &gt; Copy As New Driver and paste as Sun's Z rotation
The Value node rotates both HDRI + Sun (for animating)
The Add node rotates only HDRI