• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Controlling light direction of CCSphere

Community Beginner ,
Jul 31, 2020 Jul 31, 2020

Copy link to clipboard

Copied

Hi,

 

I've created two CC Spheres "A" for Moon and "B" for Sun. I want to keep "Light Direction" value of moon as per the position of Sun. Whereever the Sun is, the "Light Direction" Value should automatically adjusted and Light Direction should be towards the Sun. How can I do that, Please guide me.

 

Regards,

 

Shakeel

TOPICS
Expressions , How to

Views

353

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 31, 2020 Jul 31, 2020

Look up good old "targeting expressions" using Math.atan() based on the posuitional differences of the two spheres. here's an example that took five seconds to find on Google:

 

https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=32743&univpostid=32743&pview=t

 

Mylenium

 

 

Votes

Translate

Translate
LEGEND ,
Jul 31, 2020 Jul 31, 2020

Copy link to clipboard

Copied

Look up good old "targeting expressions" using Math.atan() based on the posuitional differences of the two spheres. here's an example that took five seconds to find on Google:

 

https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=32743&univpostid=32743&pview=...

 

Mylenium

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 08, 2020 Aug 08, 2020

Copy link to clipboard

Copied

Thanks for your reply but I was looking for a solution that is easy for newbies like me.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Aug 08, 2020 Aug 08, 2020

Copy link to clipboard

Copied

What Mylenium has suggested is going to be as easy as it gets. You already have a grasp of what you want to do. All you need to do is to paste the provided Expression into the correct property.

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 08, 2020 Aug 08, 2020

Copy link to clipboard

Copied

Not trying to be snarky here, but manually keyframing is often the "easy" option.
Making things dynamic/responsive in AE takes a little work and a little code. 
The other "easy" option is paying someone else to do the work for you. 

If you're interested in this kind of functionality, I'd recommend learning a bit about expressions. With even an introductory understanding of them, you can start coming up with all kinds of ways to apply them in your daily work. 

Good luck!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 08, 2020 Aug 08, 2020

Copy link to clipboard

Copied

LATEST

I'll act upon your advice. Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines