Step 1
Load the scene toothpaste.scn from the cover CD. Select the null called tube, click Animate>Create>Path>Set Path and pick the toothpaste_curve. In the Path Constrain PPG set the Y offset to about –0.5. Select the toothpaste object and apply a bend deformer. Change the Axis to X Axis, set the Bend Direction to –90 and lower the Radius to about 1. Lock the PPG in place by clicking on the lock icon.
With the toothpaste still selected click Modify>Deform>By Curve and pick the toothpaste_curve. Change the Axis to X Axis and set the Translation Along Curve to 6.5. Go back to the Bend PPG, set the offset along the X axis to –7.5 and click on the animation icon next to it to set a keyframe. Now, move to frame 100 and change the offset to 6.5 and set another keyframe

Select Modify>Poly.Mesh>Knife Tool, draw a line across the toothpaste in the top viewport. Click Ctrl + End to open thw PPG. Check the Delete Polys Above and click on the Create Grid And Connect button. With the grid selected click Transform>Match All Transforms and pick the tube null. Next, click the Parent button in the constrain panel and select the tube null with the middle mouse button.
The project files used in this tutorial can be found at:
http://www.Redi-Vivus.com/Caffeineabuse/Toothpaste_Animation.zip
http://www.Redi-Vivus.com/Caffeineabuse/Toothpaste_Animation.zip
Quick tip
To gain further control of the tubes animation, you can activate the Up Vector in the Path Constrain PPG, giving it a more natural movement.
0 comments:
Post a Comment