************** Curve Modifier ************** The Curve Modifier provides a simple but efficient method of deforming a mesh along a curve object. The Curve Modifier works on a (global) dominant axis, X, Y, or Z. This means that when you move your mesh in the dominant direction (by default, the X-axis), the mesh will traverse along the curve. Moving the mesh perpendicularly to this axis, the object will move closer or further away from the curve. When you move the object beyond the curve endings the object will continue to deform based on the direction vector of the curve endings. If the curve is 3D, the *Tilt* value of its control points will be used to twist the deformed object. In the :menuselection:`Curve tab --> Shape panel` under :ref:`Path/Curve-Deform ` are options that influence the modifier. Options ======= .. figure:: /images/modifier-curve.jpg Curve Modifier. Object The name of the curve object that will affect the deformed object. Vertex Group A vertex group name within the deformed object. The modifier will only affect vertices assigned to this group. Deformation Axis This is the axis that the curve deforms along. X, Y, Z, -X, -Y, -Z Example ======= Let us make a simple example: - Remove default cube object from scene and add a Monkey with :menuselection:`Add --> Mesh --> Monkey` - Now add a curve with :menuselection:`Add --> Curve --> Bézier Curve` .. _fig-modifier-curve-edit: .. figure:: /images/modeling_modifiers_deform_curve_example-edit-curve.png :width: 300px Edit Curve. - While in Edit Mode, move the control points of the curve as shown in Fig. :ref:`fig-modifier-curve-edit`, then exit Edit Mode :kbd:`Tab`. - Select the Monkey :kbd:`RMB` in *Object Mode* - Assign the curve to the modifier, as shown below. The Monkey should be positioned on the curve: .. figure:: /images/modifier-curve.jpg Assign the Bézier curve to the Curve Modifier (for Monkey). .. figure:: /images/modeling_modifiers_deform_curve_example-monkeyoncurve1.png :width: 200px Monkey on a Curve. - Now if you select the Monkey, and move it in the Y-direction :kbd:`G-Y`, the monkey will deform nicely along the curve. .. tip:: If you press :kbd:`MMB` (or one of :kbd:`X`, :kbd:`Y`, :kbd:`Z`) while moving the Monkey you will constrain the movement to one axis only. .. figure:: /images/modeling_modifiers_deform_curve_example-monkeyoncurve2.png :width: 250px Monkey deformations. - In the image above you can see the Monkey at different positions along the curve. To get a cleaner view over the deformation, a :doc:`Subdivision Surface ` Modifier with two subdivision levels was applied, and :doc:`smooth ` shading was used.