Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Point on the surface of a sphere (rotating)

  • Dan Ebberts

    June 21, 2011 at 5:04 pm

    How about just putting a null at the center of the sphere, parenting your layer to that, then rotate the null (or wiggle its rotation properties) however you want?

    Dan

  • Robert Morris

    June 21, 2011 at 5:10 pm

    That’s EXACTLY what I’ve been playing with now. I had thought I wouldn’t be able to get the global position value of the null if I did that, but thanks to another of your expressions:

    L = thisComp.layer(“Null 1”);
    L.toWorld(L.anchorPoint)

    …I was able to! Now I’m just creating a set of sliders so I can adjust the value of the radius and various properties.

    I thought there might be a way to just do all of this without parenting, only using expressions. But parenting a null to a “Center” null with rotation definitely seems to give me the control I wanted. It doesn’t quite move in a gyroscope-ish way, but that might be a matter of me tweaking the values more. Thank you for your help!


    Fine Art Drawings | Photography | Compositing | VFX | Titles | Keying | 3D

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy