'How to change Turret settings' (Ver.3.0)

Please feel free to contact me if you have any questions.
shopmaster@chobi-glass.com
http://chobi-glass.com/Unity/index.html



*** Outline ***

In this project, the tank turret consists of three objects, Turret, Cannon and Barrel.

The turret objects are placed under the "Turret_Objects" in the Hierarchy window.
The "Turret_Objects" has three child objects "Turret_Base", "Cannon_Base" and "Barrel_Base".




*** How to change the Turret Rotation settings ***

The turret rotation settings can be changed from "Turret_Horizontal_CS (Script)" in the "Turret_Base".
We can change the rotation speed, and also we can limit the rotation angle for creating a Jagdpanzer.




*** How to change the Cannon Rotaion settings ***

The cannon rotation settings can be changed from "Cannon_Vertical_CS (Script)" in the "Cannon_Base".
We can change the rotation speed and the limit angles.

(Note.)
When the tank has a high-angle gun such as a howitzer, enable "Upper Course" option.




*** How to change the Reloading and the Recoil settings ***

The reloading settings and the recoil settings can be changed from "Cannon_Fire_CS (Script)" in the "Cannon_Base".
We can change the reloading time and the recoil force of the gun.




*** How to change the Recoil Brake settings ***

The recoil brake settings can be changed from "Recoil_Brake_CS (Script)" in the "Barrel_Base".
We can adjust the motion of the recoil brake by editing the curve




*** How to change the Bullet and the Attack Power settings ***

The bullet settings and the attack power settings can be changed from "Bullet_Generator_CS (Script)" in the "Bullet_Generator".
We can change the prefabs for the bullets and the muzzle fire, and also we can change the attack points of the bullets.

(Note.)
AP >> Armor Piercing shell.
HE >> High Explosive shell.