Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to reset x,y & z positions of a null object to 0 staying at the center position

  • How to reset x,y & z positions of a null object to 0 staying at the center position

    Posted by Adrián Wulfrath on March 10, 2015 at 5:41 pm

    Hello, i want to reset the original position of my null object with values [960, 540, 0] to 0 but staying at center position, because i want to link the point of interest of my camera to that null, and have the null position at value 0.

    Adrián Wulfrath replied 11 years, 2 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    March 10, 2015 at 6:23 pm

    I can’t figure out what you’re asking. There must be more to it…

    Dan

  • Adrián Wulfrath

    March 10, 2015 at 7:22 pm

    I want to make the default values of position 960, 540, and convert to 0 but stay at the same position something like:

    x = 960
    y= 540
    z= 0

    [0,0,0]
    [x,y,z]

    I just want to set with an expression the values 960 & 540 set to 0 but without loosing that position.

    All my values set to 0 but at the same position. I will share my screen

  • Dan Ebberts

    March 10, 2015 at 7:32 pm

    I can think of two possibilities.

    1. Move the null to [0,0,0], then use a Transform effect to move it back to the center of the comp.

    or,

    2. Parent the null to another null, which is also located at the center of the comp.

    Dan

  • Adrián Wulfrath

    March 10, 2015 at 7:36 pm

    Thank you. I forgot that effect. LOL XD Really cool answer.

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