Attach an object to a path

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Attach an object to a path

Post 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.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post 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
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Post 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...
User avatar
slowtiger
Posts: 6257
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post 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.
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Post by Mikdog »

Also not a fan of scripts, though I do use the 'Export Layers to Anime Studio' Photoshop script a lot.
User avatar
Víctor Paredes
Site Admin
Posts: 5818
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post 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.
User avatar
Blue
Posts: 157
Joined: Fri Jul 03, 2009 1:55 am
Location: Los Angeles
Contact:

Post 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.
joelstoryboards.com - (WinXP SP3, ASP 6.1)
Post Reply