how to link the x size parameter of a bezier path to the size of a text box and make it auto change as I change the text itself?

I am using Motion 5.2

MacBook Air

Posted on Dec 13, 2018 4:48 AM

Reply

Similar questions

12 replies

Dec 13, 2018 11:28 PM in response to bu1lder

If you want a bezier path to auto change with text length, you need to use the 'track point' behaviour. The cross shapes are anchored to the sides of the text by using link behaviours. Then point 1 of the bezier is tracked to cross 1 and point 2 of the bezier is tracked to cross 2. The bezier is animated and it will always adjust to the position of the crosses, which are adjusting to the width of the text.


This will work in FCPX when published, but, there is a known bug in FCPX that prevents this working if the path is an airbrush or image brush with dynamics turned on.

Dec 14, 2018 2:19 PM in response to bu1lder

Hi


The cross shapes are in your Motion 5 contents library - search for 'cross-hair minute'. ( or you can use any shape as a source).


Put your cross points into a new group, and in the group properties, check the 'fix resolution' box.


1: Link the cross shapes to the text bottom left and bottom right corners.

Cross 1:

Link X position the text 'left edge'

Link Y position to the text 'bottom'edge


Cross 2

Link X position to the text 'right edge'

Link Y position to the text 'left edge'



If done correctly, you will see the crosses adjusting to the length of text.


2: Draw your bezier path between the cross points.

3: Add track point behaviour - and use the left side cross as the source - you want 'attach to source' and you need to deselect point 2 in the menu - make sure you click the little 'reset parameter' arrow. - ...now you can run the 'analyse; for tis point.

4L Add the second track point behaviour - use the right side cross as the source, deselect point 1 in the options, ..follow the same steps.

There's plenty of information about using the track points behaviour here

https://support.apple.com/kb/PH16569?locale=en_US&viewlocale=en_US


Hope this helps.


Dec 14, 2018 9:00 PM in response to bu1lder

"I am using Motion 5.2"


sorry, missed that one, indeed 'Width' is one of the few true enhancements made in the past years to Motion....

Any reason not to update? (it's free …)


As you see in rowies helpful and elaborated reply, the 'old' method is by far more … complicated ;)


Plan C) publish the X-scale of the Bezier as a Rig… so, you do have a handy slider to manually adjust 'width' of Bezier to 'width' of text... not automatics, but at last an easy to use control (??) …

Dec 14, 2018 8:13 AM in response to rowie302

Hi,

Thank you so much for looking into my question. I created a text layer, a bezier path layer and then I applied the "track points" behavior to the bezier path layer, and designated the text layer as the source. But the "track points" menu does not give me any track points or cross shapes. It has the source, the transform (mimic source or attach to source) and the align tangents, and nothing after that. Am I doing anything wrong in the process? (I still have Motion 5.2.2)

Dec 16, 2018 4:44 AM in response to rowie302

Hi, rowie!

Thank you so much for the help! This is what I needed. It's rather time consuming but it works. I wonder if I should go ahead and just publish the x-scale parameter so I can manually keyframe it later in FCPX, as Karsten is advising me, just so I can save me some time and effort.

I really appreciate your help with achieving this tough! Have a blessed Christmas!

Dec 22, 2018 1:13 AM in response to rowie302

Thanks again, rowie!

A very useful and important advise. I will be taking advantage of the rectangle method you've shared. I appreciate it.

I'd never actually used motion that much as I have FCPX. And now I was working on a project that called for some more creative titles to serve the purpose. And I'm learning new things. I'm finding out you can really do a lot with motion and then only polish up things in FCPX thru the publishing capabilities of motion.

One of the exciting things i found out recently was how to publish a title to FCPX in such a way that even if I stretch it within the FCPX timeline it will not change its speed. Very useful.


Dec 16, 2018 4:59 PM in response to bu1lder

Hi **1lder


I'm glad this helped.


When you do update, you will have all those additional parameter options for making relationships between text strings and objects.


Keep in mind, that there is a difference between linking 'width to width' and 'scale to width'


Liking scale to width can produce skewing and distortions in the shapes - this may or may not be a problem depending on what you want to happen.


A bezier path has no width parameter - so you can only link scale to text width.


However - as I learned from Karsten, ..in many situations, you do not have to use a bezier path or line tool to make a line. You can just adjust a rectangle to make a line - and then, you can make a 'width to width' link. You can make a line with a rectangle by dropping the geometric height to 1.


These days, I usually see if I can use this substitution method first if I want to link a line length to text, and if not, then I use the track-points method.





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to link the x size parameter of a bezier path to the size of a text box and make it auto change as I change the text itself?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.