In the two previous posts, I showed you how to animate conveyor belts and tracked vehicles (a bulldozer and a tank). In both of these posts, the “belt” (or track in the case of the vehicles) did not actually move around the drive wheels.
Nevertheless, the results were pretty convincing. But, I did promise to provide a moving track animation; here’s the result:
To give you an idea of how this works, here’s the animation with only the track parts:
As you can see, the animation uses four parts that move and spin to give the illusion of a moving track. Note that the bottom track doesn’t move but essentially provides a “road” for the vehicle.
NOTE: Here are two caveats about this animation you may want to consider:
1. Although the animation itself is not particularly complicated; the construction of the parts and their positioning requires some careful, accurate (and patient) work.
2. The method uses moving “invisible” masks to hide some parts of the animation. Depending on the background of the animation, this may not work. More about this later.
I started by making the circular parts; I used this technique from my posts on gears:
For the gear, I constructed a group consisting of two opposing teeth, duplicated and rotated the group using the Size and Position pane for accuracy, keeping the parts centered (the yellow lines provide a guide).
I’ll use this technique to build the circular parts of the track but I will use a different shape for the track “lugs” made by Subtracting a Rectangle from a Chord shape:
Trial and error led me to this kind of shape; the Trapezoid shape used for the gears caused some “meshing” issues (more about this later).
NOTE: Actually, the meshing anomalies do occur with the gears; they are a little less obvious so I ignored them.
This is why my PowerPoint gears won’t really work; if they were physical gears, they wouldn’t mesh properly. The design of real gear teeth is pretty complicated; see this article.
Here’s the completed object that will be used to form the circular parts of the track:
The base circle (red) for the object is 1.6 inches in diameter. This means that the object will “roll” 3.14*1.6 in. = 4.98 in. in one revolution without appearing to slip. Here’s the animation combining a 360º Spin and a Right motion path, both with 2 sec. duration. The Smooth Start/Stop intervals for the motion path have been set to zero:
The yellow outlined object is the final position for the object (a “target”). It is critical that the distance between the centers of the objects be exactly 4.98 in. (not 5). I did this by drawing a “ruler” object (the elongated Hexagon) and setting its length to the exact value using the Format Shape/Shape options/Size pane:
Then, I set a Guideline at the center of the target, using the Alt key while moving the Guideline so that it can be moved in small (0.01 in.) increments.
Some notes:
- If you don’t have Snap to Grid set, you don’t have to use the Alt key.
- In this case, the dimension could be set by moving a vertical Guideline to +4.98 (using the Alt key for fine adjustments) since the object is at 0.00 on the slide. This may not be convenient in all cases.
- As I finished this project, I remembered the Position option on the Format Shape/Size and Position pane. It is possible to set these measurements to From Center for this purpose, but, unfortunately, the measurements use the upper left corner of the object as a reference, rather than the center.
RANT: If this inconsistency surprises you, you should know that, apparently, PowerPoint coders work in isolated cells and are not permitted to talk to each other.
To construct the straight part of the track, use the centerlines of the object and the “target” to position the two end “lugs.” Add seven more lugs between these two (alignment is not important yet):
Next select the lugs (green) and use Arrange/Align top to align them horizontally. Make sure that the two end lugs are aligned vertically with the lugs on the two wheels. Finally, apply Arrange/Distribute horizontally to the green lugs. This “magic” step spaces the lugs evenly between the two ends:
This animation shows that the rotating lugs align correctly with the row of lugs forming the bottom of the track (I used contrasting solid colors to make the alignment visible:
This a critical point – if the lugs are not aligned at this step, you will need to check your work.
By the way, this is how the animation looks with trapezoidal lugs; you can see the reason for the rounded shapes:
Next, I added background-colored masks (red-outlined for clarity) to hide the appropriate parts of the track elements. I used the Animation Painter to copy the animation from the round part of the track to one of the masks, Removed the Spin and Painted the animation to the other mask:
The positions of the straight track and the masks are critical – you may have to tweak them to get a good result.
Next, I duplicated the “wheel” and the mask and positioned them both to form the right part of the track.
NOTE: In this example, position of the right part of the track happens to coincide with the “target” so that the length of the track corresponds to one rotation. This is not necessary – the length of the track has no necessary relationship to the rotation (or the diameter of the base circle). However, the arithmetic would need to be adjusted; for example, if the travel was 3.2 times the circumference, the wheel would need to rotate 3.2 times (1152º).
I need a longer lower track for the complete animation; I made this by duplicating the the short lower track and aligning it very carefully with the original piece. Overlapping the end lugs made this easier. Again, this is a critical step to maintain the lug spacing.
Here’s the animation at this stage (the two parts of the lower track are colored differently to help with the alignment):
The top part of the track moves left to right with the rest of the track and also moves forward with the vehicle. Since these speeds are equal in our example, the top track moves twice as fast as the vehicle. In PowerPoint terms, this means that it moves twice the distance of the vehicle in the same time interval; i.e., the motion path must be twice as long. Here’s the layout:
I used two of the “rulers” to establish the end point for the motion path. Since PowerPoint does not allow Guidelines off the slide area (!!?), I used an ordinary Line (blue) to align the endpoint. Here’s the animation:
Here’s the animation with the top masks added and uniform colors:
Obviously, the track assembly for the earthmover animation is a different size and shape; here are some other notes on the earthmover:
- The body of the machine is copied from a web illustration using Shapes and Freeforms, as usual:
- The base circle diameter is 0.8 inches; the distance corresponds to three rotations.
- The wheels are a combination of circles and a Star as in other examples in this series. The wheels are separate from the track for layering reasons.
- The two masks used to hide parts of the round track elements have been combined into a single Rectangle that forms the “background” for the track assembly:
- Here’s the animation pane (I used the Selection pane to name the components):
- The Spin animations are 360º with a Repeat of 3.
- The layering is important; the Selection pane lists the components in front to back order:
This masking technique only works with certain backgrounds; this simple example has uniformly colored areas behind the masks and the masks are filled to match:
Even if you use Slide Background Fill for the masks, the Fill will not change as the animated mask moves against the background (see this post for examples).
If you want to see more details, use the link below and click on the PowerPoint icon to download a free “source” PowerPoint file containing these projects:
powerpointyblog tracked vehicles 2
See this page for more on downloading files.
If you have questions, praise or complaints, please add a comment below. If you appreciate my efforts, liking or following this blog might be a good idea.