Forum Replies Created

Page 18 of 19
  • Dan Fredley

    January 3, 2011 at 9:18 pm in reply to: auto-orient layer towards another layer

    Or as Dan Ebberts wrote in a previous post:

    L1 = thisComp.layer("Layer 1");
    L2 = thisComp.layer("Layer 2");
    p1 = L1.toWorld(L1.anchorPoint);
    p2 = L2.toWorld(L2.anchorPoint);
    delta = p2 - p1;
    radiansToDegrees(Math.atan2(delta[1],delta[0]));

    Dan Fredley

  • Dan Fredley

    January 3, 2011 at 9:10 pm in reply to: auto-orient layer towards another layer

    I did some research on how to find an angle between two points. This works well.

    radiansToDegrees(Math.atan2(transform.position[1]-thisComp.layer("Shape Layer 1").transform.position[1], transform.position[0]-thisComp.layer("Shape Layer 1").transform.position[0]))

    Dan Fredley

  • Dan Fredley

    September 2, 2010 at 8:32 pm in reply to: Shrinking and stretch keyframes

    I set keyframes as you explained and it worked fine for me.

    Would you be able to nest the comp and just use time remapping?

    Dan Fredley

  • Dan Fredley

    September 2, 2010 at 7:06 am in reply to: Modeling and Shading A Ribbon with Arrowhead

    That worked great–thanks.

  • Dan Fredley

    September 1, 2010 at 4:55 pm in reply to: read the 11.5 manual on the go?

    Here’s a link to the HTML files from the Maxon website.

    https://http.maxon.net/pub/r115/doc/ENGLISH_HELP_11.530_20100414.zip

    Dan Fredley

  • Dan Fredley

    September 1, 2010 at 4:29 pm in reply to: Begin/End Layer at given point in time.

    I’m new to Cinema 4D myself, but I think you can set keyframes for the “Visible in Renderer” command in the Attribute Manager > Basic tab. I’m not sure if that’s the effect you’re going for or not or if that’s even the best way, but just an idea.

    Dan Fredley

  • Dan Fredley

    August 27, 2010 at 9:18 pm in reply to: Animate spline reveal

    The alpha channel worked great. Now the client wants to give the spline a 3D look–right now it’s only 2D with the spline and extrude nurbs. Is there an easy way to add a slight z-dimension to it?

    Dan Fredley

  • Dan Fredley

    July 29, 2010 at 7:09 pm in reply to: 3D Corner Pin to corners of another layer

    Nevermind–the corner pin layer was accidentally set to be a 3D layer. Once I turned it to 2D it worked again.

    Dan Fredley

  • Dan Fredley

    July 29, 2010 at 7:00 pm in reply to: 3D Corner Pin to corners of another layer

    It worked until I tried to move the target layers in z-space–the expression no longer keeps the corner pin to the target layer. I tried different values in the z property to no avail.

    Dan Fredley

  • Dan Fredley

    July 29, 2010 at 6:14 pm in reply to: 3D Corner Pin to corners of another layer

    That worked perfectly of course–thanks Dan. I also modified it to figure out the lower right corner of the target layer(for any of those interested):

    target=thisComp.layer("UL");
    fromComp(target.toComp([target.width,target.height,0]))

    Dan Fredley

Page 18 of 19

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