- Home /
How to move caterpillars of a tank?
I scripted the motion of the tank using wheelcolliders, but right now I don't know how to move its caterpillars, I'd like to achieve the effect of tanks in Battlefield3, but I need help, please, could u give me a tip?
Answer by Grady · Dec 15, 2011 at 11:00 AM
Try this link, hopefully it helps you: http://forum.unity3d.com/threads/67790-Animating-tank-treads It even mentions the tanks in the Battlefield games in the last comment!!!
-Grady
It's a very clever idea - to simply scroll (offset) the texture. Thanks Grady.
Just for the record, this is a situation where one could use Unity's new procedural materials (which is in fact Substance by Allegorithmic)...
http://unity3d.com/support/documentation/$$anonymous$$anual/Procedural%20$$anonymous$$aterials.html
However the idea of just offsetting the ordinary everyday texture is so clever and elegant that it's almost certainly the way to go!!!
Do you mean for each little bit of the tread, you could try!!! And your welcome @Fattie !
I think the best solution is to create a akinned mesh with joint on all the wheel, and simply scroll the offset of a texture on this skinned mesh
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to rotate at the same rpm wheels of a tank? 1 Answer
RIGIDBODY HOW MAKE IT STOP BOUNCING HELP! 3 Answers
Help with the update function and rigidbodys 3 Answers
Wheel Collider Tilt? 1 Answer