A plug-and-play, physics-driven tank controller with third-person movement, camera-synced turret, physical recoil, high-speed projectiles with explosion force, and a tiny demo scene. Includes optional FX/Audio (muzzle flash, explosion, track dust, audio) that can be removed.
Unity: 6000.0.32f1 LTS
Packages: Cinemachine, UnityGLTF
-
Import the
.unitypackageinto your project. -
Install Cinemachine
Window → Package Manager → Unity Registry → Cinemachine → Install.
-
Install UnityGLTF
Window → Package Manager → + (Add package from git URL…)- Paste:
https://github.com/KhronosGroup/UnityGLTF.git
- Paste:
-
Remove/disable other Cameras in your scene.
-
Drag
Prefabs/TankPlayer.prefabinto your scene → Play.
- Movement:
WASD/ Arrow keys - Aim: Mouse
- Fire: LMB
- KV-2 heavy tank 1940 by Comrade1280, licensed under CC BY 4.0
- Tank Shell (bullet) by inetherr, licensed under CC BY-SA 4.0
- Unity Particle Pack, licensed under the Unity Companion License
