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
I am using Motion 5.2
MacBook Air
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.
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.
The features you need in the Link behavior were added in Motion 5.3 when Align To was introduced. Is there any chance you can upgrade Motion to at least 5.3?
"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 (??) …
Like that?
By linking the Beziers X-scale with the Text Width:
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)
Yes! Thank you! That's exactly the effect I need. And I followed your instructions but it seems Motion 5.2.2 doesn't have that capability or options in the link menu. (I don't have the option "object width" within the source parameter pop up menu)
Hi, Kirsten!
Thank you for your help! Indeed, it's easy and free to update to Version 5.3. it's just that I've started a few projects in Motion and FCPX and I just don't want to risk losing them by chance in process of updating.
I haven't tried plan C but I will!! 😊 And thank you so much again!
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!
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.
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.
Hi, fox.
Yes. Align to is the very feature I need and it's found in version 5.3. It's just that I would like to finish the current projects I'm working on in Motion and FCP before upgrading.
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?