tank track curve modifier

I have used a cube with a curve modifier and array modifer to run create a set of tracks for a tank model.

My problem is that the cube appears to be at a slight angle and I can not work out why.

There is no rotation on the cube itself so I am not sure where the rotation is coming from.

  • 2
    $\begingroup$ I think the curve is probably co-planar, but perhaps the Cube has been deformed - maybe some of vertices of the cube have been translated - it's hard to say. care to share the .blend? $\endgroup$ – zeffii Jun 19 '15 at 13:22
  • $\begingroup$ @zeffii I have added the blend file. I am still fairly new to blender and 3D modelling so I could of done something silly by accident. $\endgroup$ – kenjara Jun 23 '15 at 11:16
  • 1
  • 1
    $\begingroup$ I don'q quite get how your base object was straight, as it is looking like that - i.imgur.com/sb7tAMT.jpg (all modfiers turned off). If adding another cube / editing this one (but fiirst is easier), then it'll work - i.imgur.com/9MpX1FB.png. So @zeffii was right saying that the cube was deformed. $\endgroup$ – Mr Zak Jun 23 '15 at 11:41
  • $\begingroup$ Thanks guys I am not sure how I managed to sheer it but I must have somehow by accident. $\endgroup$ – kenjara Jun 24 '15 at 10:45

As is the case with any sufficiently complex thing, it takes time for all of this to become internalized / second nature.

In your situation, the base object (the deformed cube) was not just scaled to become elongated, but at some point you also translated one of the faces giving the base object the sheered look. This is one reason to use multiple views of your object to help catch deformations which might be tricky to see from just a perspective view. (Over time you will see all of this immediately.. but it takes practice)

enter image description here

Once you correct the sheer (best just to use a new object, or learn how to snap edges to the (x,y,z) coordinates of other vertices) , you'll still get deformation in those parts of the track which bend a lot. This might be OK if you're aiming for non-photo-realism, else there are hefty tutorials for tank tracks.

  • $\begingroup$ Thanks. The multiple views is a good point and something I will start doing. It makes sense as I as mainly looking at the object from the side before applying the modifiers which means that I would of missed it. $\endgroup$ – kenjara Jun 24 '15 at 12:23

It's trying to follow the curve the best it can, and deforming the mesh in the process. You could use a vertex group to limit the influence of the curve modifier, but I think you'd still get deformation.

The best way to eliminate the angle deformation would be to straighten the curve. Go into Edit mode, select all vertices with A, and scale to 0 by X axis (S > X > 0).

If you do need the curve to go into that angle, you could try using dupliverts.

  • $\begingroup$ Thanks Mr Zak, I was wondering how to do those key icons $\endgroup$ – Januz Jun 19 '15 at 15:04
  • 1
    $\begingroup$ You might want to check this post meta.blender.stackexchange.com/questions/388/… $\endgroup$ – Mr Zak Jun 19 '15 at 15:12
  • $\begingroup$ I tried this and nothing moved at all. I believe I had already straightened the curve on the x axis. I have added the blend file to the question if you want to take a look. Thanks. $\endgroup$ – kenjara Jun 23 '15 at 11:20
  • $\begingroup$ Looking at your blend, your base object is deformed like @zeffii said. Try a straightened cube $\endgroup$ – Januz Jun 23 '15 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.