I have a mesh and a curve modifier. I want that mesh to be coil on the curve. Sorry to say i never understood how the curve modifier works. When ever added it goes in different direction or away from the target. Can anybody explain me why my mesh going different direction other then the target curve.
The curve and the object have to have their origins in the same place, otherwise you will see an offset and get unexpected results.
Snap ( Shift S the cursor to the curve, and then snap the object to the cursor.
Then the deformation can take place corectly.
Note that the origin of the deformed object will be placed at the first control point of the curve.