Page 1 of 1
Attach an object to a path
Posted: Tue Aug 18, 2009 10:42 am
by Mikdog
For the life of me I can't find out how to attach an object to a vector path.
I'm pretty sure this was possible in AS 5.6 but can't find anything in the search function in the forums nor the manual.
Anyone know how to do this? In other words draw a vector line and then attach an object to follow that path.
Thanks.
Posted: Tue Aug 18, 2009 11:13 am
by Genete
You can follow a path with the translate layer tool. To follow a curve (vector curve animatable) you need a script. I think that Vern has something close to that
here
-G
Posted: Tue Aug 18, 2009 11:16 am
by Mikdog
Thanks man. I worked around it by manually placing frames. Was interested though in if its possible to do that. I know Selgin came up with a cool idea for placing bones as a path with his snake idea, and I strongly remember 5.6 showing a rocket ship following a vector path, an official little movie demo...hmm...
Posted: Tue Aug 18, 2009 11:16 am
by slowtiger
Since I don't like scripts, I just draw the path on one layer, and then use the translate tool to move my other layer as close as possible. Check "rotate to follow path" in this layer's properties.
Posted: Tue Aug 18, 2009 12:48 pm
by Mikdog
Also not a fan of scripts, though I do use the 'Export Layers to Anime Studio' Photoshop script a lot.
Posted: Tue Aug 18, 2009 4:23 pm
by VĂctor Paredes
I'm a huge fan of scripts and I recommend you both to take a second look.
For a layer which follow a path I use Crashcore's scripts. First draw a vector path and select the menu script "Copy selected curve", then go to the desired layer and select the script "Paste curve to layer translation".
That's all.
I haven't tried Crashcore's scripts on version 6, but in 5.6 works very well.
Posted: Tue Aug 18, 2009 6:47 pm
by Blue
My only problem with scripts is that you have to put them in certain folders, update text files...this becomes a HUGE problem with portability. If you rely on a script tool and need to go to another computer, you gotta reload ALL of it.
And its not a simple matter of replacing the script folder, because the computer you go to may have custom scripts.