Kinetic Facade

Hi. I want to make my facade rotation degree can be change by a point attractor similar like in this video, then I will calculate sDA and ASE based on the sun attractor, but I dont know what to do. Can anyone help me? (226.1 KB)
Square Building.3dm (138.0 KB)