Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Christopher Noll on May 24, 2007 at 8:34 pm

    Found this post:

    Position expression:
    thisComp.layer(index-1).position.value_at_time(time-thisComp.layer(“Dragon conrol”).effect(“Slider Control”)(“Slider”))

    Rotation expression
    thisComp.layer(index-1).rotationY.value_at_time(time-thisComp.layer(“Dragon conrol”).effect(“Slider Control”)(“Slider”))

    But my Rotation doesn’t work? The position is offset but not the rotation what gives?

    Also:

    I have Streamers hanging from my dragons bottom jaw that I would like to realistically deform with the jaw movements. Any ideas on how to do that? Each streamer is a separate bitmap.

    TIA,

    Chris

    Darby Edelen replied 18 years, 12 months ago 2 Members · 6 Replies
  • 6 Replies
  • Darby Edelen

    May 24, 2007 at 8:45 pm

    [Anti_M] “thisComp.layer(index-1).rotationY.value_at_time(time-thisComp.layer(“Dragon conrol”).effect(“Slider Control”)(“Slider”))”

    I’m pretty sure that this line should read:

    thisComp.layer(index-1).transform.yRotation.value_at_time(time-thisComp.layer("Dragon conrol").effect("Slider Control")("Slider"))

    Unless you’re using a much older version of AE in which the syntax is different… Then I can’t be sure =)

    Darby Edelen
    DVD Menu Artist
    Left Coast Digital
    Aptos, CA

  • Christopher Noll

    May 24, 2007 at 8:50 pm

    Gives me a message stating no property or method named ‘yRotation’

  • Christopher Noll

    May 24, 2007 at 8:55 pm

    This is the correct syntax:

    thisComp.layer(index-1).transform.rotation.value_at_time(time-thisComp.layer(“Dragon Control”).effect(“Rotation Control”)(“Slider”))

    Thanks for getting me on the right track.

  • Christopher Noll

    May 24, 2007 at 9:16 pm

    I have Streamers hanging from my dragons bottom jaw that I would like to realistically deform with the jaw movements. Any ideas on how to do that? Each streamer is a separate bitmap.

    TIA,

    Chris

  • Darby Edelen

    May 24, 2007 at 9:43 pm

    This is a 3D layer you’re referencing right? Make sure that the layer above the layer with the expression is a 3D layer.

    Darby Edelen
    DVD Menu Artist
    Left Coast Digital
    Aptos, CA

  • Darby Edelen

    May 24, 2007 at 9:44 pm

    [Anti_M]
    This is the correct syntax:

    thisComp.layer(index-1).transform.rotation.value_at_time(time-thisComp.layer(“Dragon Control”).effect(“Rotation Control”)(“Slider”))

    Thanks for getting me on the right track.”

    That’s correct if you’re referencing a 2D layer, I thought it was 3D based on your first post… Sorry for misleading you into the right answer (;

    Darby Edelen
    DVD Menu Artist
    Left Coast Digital
    Aptos, CA

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