putting arrows on a 3dstroke
by alex dinnin
on
Jun 26, 2008 at 9:06:07 pm
Good Evening Everyone,
I am doing a simple route map, showing the route a traveller is taking across the world.. I have a flat map and I am using 3dstroke to animate the path from A to B.. easy...
However the client has now piped up, and decided they want an arrow on the front of the line, that animates with it.
Can anyone think of a clever way. I'm thinking the best way is to use the path as keyframes, and put a triangle on the line and try and match the timings..
Can anyone think of a clever way to get round this ??
I'm going to pop this questions in the expressions forum as well.. so apologies, if you are reading this twice.. but I am thinking there might be a way to use the key frames of the 3d stroke to move the triangle along the path.
Re: putting arrows on a 3dstroke by Dave LaRonde on Jun 26, 2008 at 9:27:28 pm
In light of the client's change, I'm trying to figure out why you still see the need to use Trapcode's 3D stroke when you can use AE's own Stroke effect and have it work beautifully with a triangle-shaped solid. Assuming that your map layer is larger than the actual comp, here's how I've done it in the past:
• Create a map-sized solid in a map-sized comp, put it precisely over your map, and use the Mask tools to create a path (i.e. a non-closed mask) of the traveler's route.
• Create small solid, and mask it to look like a triangular arrowhead. Make sure the anchor point is in the middle of the triangle
• Copy the Mask Shape property on the map-sized solid, paste it into the Position Property of the small solid, and use the Orient Along Path command. You'll get as many position keyframes as there were mask vertices on the map-sized solid, and you'll get a 2-second-long animation. You can simply drag the last position keyframe to the duration you desire. The intermediate keyframes are Floating keyframes. You may have to tweak the triangle's rotation property to get it working properly.
• Add the Stroke effect to the map-sized solid. Animate the Stroke End property (or whatever it's called) from 0% to 100%. Make the first and last keyframes' times match those of the triangle.
• Nest the entire comp into your main comp, and animate the nested comp's scale and position as needed.
You can figure out any additional details for yourself.
Dave LaRonde
Sr. Promotion Producer
KCRG-TV (ABC) Cedar Rapids, IA
Re: putting arrows on a 3dstroke by alex dinnin on Jul 2, 2008 at 9:23:11 am
Thanks very much indeed.. work like a charm !!
It's a funny thing.. I have been using AE for about tne years now.. and have never ever come across orient along path !! tsk you learn a new thing every day