Forum Replies Created

Page 6 of 7
  • Susan Lan

    August 21, 2015 at 12:36 pm in reply to: rotate offset

    The follow though make sense? (is correct?)

    I think that because of I have change the offset tiem from -1 to +2 (in order to make the ligth in front the camera and not behind it)

    For that, the ligth “stops” 2 seconds before the camera stops (althought is not yet second 8 to stop as says the expression)

    Can be that the reason why the ligth stops 2 seconds before the camera? How can I fix it?

    Or better I don’t touch -1 and I offset the position of the ligth in front?
    But if I don’t change -1, who pursues to who? the ligth pursues to the camera?

  • Susan Lan

    August 21, 2015 at 12:31 pm in reply to: rotate offset

    Then best I take a photo/capture, one moment

  • Susan Lan

    August 21, 2015 at 12:13 pm in reply to: rotate offset

    You’re an Hero for me Walter!!

    I change -1 to +2 to be the ligth in frotn of the camera, to feel that the camera behind it, is pursuing the ligthy, but in some time the ligth stop (it is not second 8 yet) and the camera continuous, Can I upload into dropbox to you can see the ligth and camera layers only, or it will be inconvenience?

  • Susan Lan

    August 21, 2015 at 11:52 am in reply to: rotate offset

    When I try the
    MY TRY 2)
    AND
    MY TRY 3)
    a error windows says:
    “could’n find effect named ‘offsetX” Expression disabled”

    But I’m not sure if MY TRY 1) Is correct the add of Z?

  • Susan Lan

    August 21, 2015 at 11:43 am in reply to: rotate offset

    Hi walter! Million of thanks!!

    I wanted to ask about line 5, because I’m not sure how to write the slider of offset position (and also because I have also a slider for Z position, but in your code tyhere is not Z position)

    It is good one of these tryes? For POSITION

    MY TRY 1)

    positionOffset = [effect(“Slider Control”)(“Slider”),effect(“Slider Control 2”)(“Slider”),effect(“Slider Control 3”)(“Slider”)];

    MY TRY 2)

    positionOffset = [effect(“offsetX”)(“Slider Control”)(“Slider”),effect(“offsetY”)(“Slider Control 2”)(“Slider”),effect(“offsetZ”)(“Slider Control 3”)(“Slider”)];

    MY TRY 3)

    positionOffset = [effect(“offsetX”)(“Slider Control”),effect(“offsetY”)(“Slider Control 2”),effect(“offsetZ”)(“Slider Control 3”)];

    Thank you Walter

  • Susan Lan

    August 20, 2015 at 2:32 pm in reply to: rotate offset

    Good evening Walter!

    Yes, thank you and sorry for the inconveniences, here I upload the image:

    https://i.imgur.com/2GoYZCg.jpg

    I write an expression into the: Position of the null of the ligth, to follow the position of the null of the camera (called “Cam Control”)
    was this
    thisComp.layer("Cam Control"); transform.position + [effect("Slider Control")("Slider"),effect("Slider Control 2")("Slider"),effect("Slider Control 3")("Slider")];

    then I add it, inside the code of “position offset”:
    offset = +.5;
    p = thisComp.layer("Cam Control"); transform.position + [effect("Slider Control")("Slider"),effect("Slider Control 2")("Slider"),effect("Slider Control 3")("Slider")];
    t = time + offset;
    p.position.valueAtTime(t);

    Then I write an expression into the: Rotation of the null of the ligth, to follow the Rotation Z of the null of the camera (called “Cam Control”).

    I got this to the parent-follow:
    thisComp.layer("Cam Control").transform.zRotation
    But when I want to add it, into our expression of rotation offset I must remove the part
    .transform.zRotation
    To add, finally, like this (the expression yo tell me)
    offset = +.5;
    p = thisComp.layer("Cam Control");
    t = time + offset;
    p.transform.zRotation.valueAtTime(t);

    P.D.: It does not looks good, because also I’m trying to turn the cone of ligth (the beam) in a manner that seems firstly that the beam are in Y axis , I mean, lookin at this frist:
    https://cloud8.lbox.me/images/384×384/201203/ultrafire-decreto-xm-1000-l-t6-luz-tactica-linterna-color-camuflaje_anehzq1331188119397.jpg
    and then animate the ligth beam

    View post on imgur.com

  • Susan Lan

    August 20, 2015 at 1:23 pm in reply to: rotate offset

    I asked that, also because, it seems that the null of the AE-pointLigth rotates, but I can’t notice the offset, although I change -.5 to +.5
    It still seems that the null of the ligth is linked to the null of the camera, both make the same rotation and position, but, I do not notice the sensation that the camera follows the light, I don’t know how to explain, I imagined to maked the ligth moving a little bit faster (time offset, no?) and that the camera follows, pursues the ligth (which in sometimes “dodge” (I don’t know the word) the camera)…

    🙁

  • Susan Lan

    August 20, 2015 at 6:33 am in reply to: rotate offset

    Good mornig Walter! I just try it and, I want to aks you if it is normal this: ¿it is normal that only works: if, in the line “p” that refers to the layer we only write the name of the layer to which we want to follow the rotation (instead of select that line and pick/take the whip to parent to the z rotation)??:

    offset = -.5;
    p = thisComp.layer("Cam Control");
    t = time + offset;
    p.transform.zRotation.valueAtTime(t);

    instead of this in line “p” of layer (this follow get error, ¿the reason is because we tell the “transform Z Rotation in “p” property line and because of that, is not necesary tell to it again in the “layer” line?

    offset = -.5;
    p = thisComp.layer("Cam Control").transform.zRotation;
    t = time + offset;
    p.transform.zRotation.valueAtTime(t);

    Thanks you Walter

  • Susan Lan

    August 19, 2015 at 4:42 pm in reply to: rotate offset

    I linked the rotation of the 3d null of the ligth
    to the rotation ogf the 3d null (cam control) of the camera

    Both nulls are 3D activated…

    I’m not english, but I undertand “since” as “that is because”, no?

    Corecct me please, Then you are saying that I must write:
    offset = +.5;
    p = thisComp.layer("Cam Control").transform.zRotation.valueAtTime(t);
    t = time + offset;
    p.rotation.valueAtTime(t);

    instead of:
    offset = +.5;
    p = thisComp.layer("Cam Control").transform.zRotation;
    t = time + offset;
    p.rotation.valueAtTime(t);

    yes? Thanks Walter!

  • Susan Lan

    August 19, 2015 at 4:27 pm in reply to: rotate offset

    Thanks Walter! I get this error, I take a capture, can you help me please?

    https://i.imgur.com/YAJqgbm.jpg

    9157_errorrotationoffset.jpg.zip

    View post on imgur.com

Page 6 of 7

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