tank mini project
about the project
In this project, we were tasked with creating a tank in 3D Studio from scratch and animating it as well as giving it the ability to move and shoot. Using the animation abilities of 3D Studio we were able to make animations for the tanks movement by rotating the tires as well as create an idle animation in which the tanks pistons move in and out. By exporting these animations we were able to put them in Unity and put them in what is a called an Animation Controller which allows us to assign animations for certain inputs
Animations & scripting
As far as scripting goes what we did was allow the tank to move in 4 directions, left, right, backward, and forwards as well as allow the tank to shoot. We also made it so that when an enemy tank was hit with said shot it would disappear.
For animating the tank we took the animations we created in 3D Studio and exported them to Unity. From there we could set up an Animation Controller and assign said animations and made it so when there was a directional input from a keyboard, controller, etc a certain animation would play for it. The Controller allows us to blend these animations together so that they are seamless when the tank is moving in whatever direction.