Blender tank tracks animation vs Unity

I’m not the best at using blender, but i’m learning :slight_smile:

One of the things I found recently was a short tutorial on making tank tracks in Blender (which was a god send because my first attempt was horrible :shock: )… it works wonderfully, in Blender.

Basically it’s a mirror, array and curve modifier applied to a track section, then animated by moving the track section along the x axis and setting keyframes.

The problem comes when I import that into unity (blend and fbx files have the same issue). The mesh is fine, the tracks have followed the path laid out by the curve and are all present and well formed (so all the modifiers work)… but the animation is quite broken; the whole mesh tries to move along the x axis rather than the track sections moving along the curve path.

I’ve found some older posts saying that unity doesn’t support this kind of animation… is that still true? if so; any suggestions about what kind of approach I should be using to get animated tank tracks pulled into unity?

There are two ways you could do what you need both of which use the mesh modifier system on the Asset store, first is to use the Path deform modifier which would do exactly what you have done in blender, the second is to use the custom tank track system also included. Videos showing both features below.

Unity does not (yet) support blendshapes. It’s planned for the future. If your animation doesn’t use bones, it won’t work in Unity.

Don’t believe he is using blendshapes, the post says the curve deformer, if anything it would be a point cache file he is trying to export which can also be handled with the system above.

not knowing what a blendshape is… i don’t think i’m using it. This was the tutorial i found and was following more or less:

www.blendernerd.com/tank-tracks/

I’ll have a look at the things in the asset store :slight_smile: thanks

You could probably just animate the UV’s, like, offset them, in Unity. If that makes any sense. Animating the texture instead of the actual model would save processing power and all that.

Hello everyone!
Chak the new version “Tank Simulator”

Features:

  • Based on the component Physics / Hinge Joint
  • Well controlled on uneven terrain
  • The tracks are created from individual pieces, that look very realistic
  • Track simulation not fully based on physics, because of this, does not require a lot of computational memory.
  • Turret also can controlled
  • Can Rotate on the spot