Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Extend straight line? ('Trim' beyond 100%, if you will..)

New Here ,
Apr 04, 2019 Apr 04, 2019

Hi!

I would like to have contol over a very short line with two anchor points, but i would like it to show as a very lone line. 'Extend' it or something.

This picture will show what i mean:

Screenshot 2019-04-04 at 12.29.40.png

I would really appreciate it if you could help me know how i could achieve this. I would prefer to be able to do this with Shape Layers and would like to stay in the same comp.

Thanks in advance!

743
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Apr 04, 2019 Apr 04, 2019

Not sure if it is suitable for you:

With the script Connect Layers (https://aescripts.com/connect-layers/ ) - option tree - you can connect a line to 2 layers (nulls or whatever).

I deactivated the expression on the anchor and scaled it in x to a large factor.

The result is a line which stick to 2 layers. If you move the layers (one of them or both), the line will follow.

Anmerkung 2019-04-04 135917.jpg

So far for now.

Translate
Mentor ,
Apr 04, 2019 Apr 04, 2019

Why not making the line very long and then trimming it?

Alternative: Shape layer rectangular with low height and huge width. You can control both very easy in the shape layer path property. It will work independent from any rotation.

*Martin

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 04, 2019 Apr 04, 2019

Thanks for your reply, but I prefer something with 'short' anchor points because I can track these anchor points to certain objects by parenting them to a Null.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Apr 04, 2019 Apr 04, 2019

I think there is no way to extent a path beyond it's anchor points - but I'm sure that there is a better way to achieve what you want.

Can give us more details about that?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 04, 2019 Apr 04, 2019

Okay.

I just want to animate or parent lets say 2 heads, and have a line between the heads, but also extending behind the heads -

Don't need instuctions about the tracking... Instruction for animating is also good.

Screenshot 2019-04-04 at 13.42.02.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Apr 04, 2019 Apr 04, 2019

Not sure if it is suitable for you:

With the script Connect Layers (https://aescripts.com/connect-layers/ ) - option tree - you can connect a line to 2 layers (nulls or whatever).

I deactivated the expression on the anchor and scaled it in x to a large factor.

The result is a line which stick to 2 layers. If you move the layers (one of them or both), the line will follow.

Anmerkung 2019-04-04 135917.jpg

So far for now.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019
LATEST

The new Create Nulls From Paths script that comes with later versions of After Effects makes this a very easy process. Just choose Path follows Nulls, then animate the nulls, parent them to other layers, or use expressions to link them to other properties or layers.

Screenshot_2019-04-04 08.39.50_8kerK6.png

It would take about a minute to set up your project using this new tool. Here's an example: Dropbox - Nulls to Follow Paths.aep

Screenshot_2019-04-04 08.45.13_JmFbiV.png

Draw a path, Apply the script, Animate the nulls attached to the points you want to move.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines