Skip to content

chri-sp/tank-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tank Controller

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.

▶ Web playable demo

Movement

Unity: 6000.0.32f1 LTS
Packages: Cinemachine, UnityGLTF

Quick Start

  1. Import the .unitypackage into your project.

  2. Install Cinemachine

    • Window → Package Manager → Unity Registry → Cinemachine → Install.
  3. Install UnityGLTF

    • Window → Package Manager → + (Add package from git URL…)
      • Paste: https://github.com/KhronosGroup/UnityGLTF.git
  4. Remove/disable other Cameras in your scene.

  5. Drag Prefabs/TankPlayer.prefab into your scene → Play.

Controls

  • Movement: WASD / Arrow keys
  • Aim: Mouse
  • Fire: LMB

Credits

About

Physics-driven tank controller

Topics

Resources

License

Stars

Watchers

Forks

Languages