# Configurable Tank Camera

To use the Configuarable tank Camera, locate the AccessibilityTouchstick Prefab from the Accessibility/Prefab folder, and drag to the Prefab into your Scene Hierarchy. Alternatively, you can create an empty game object and add the Tank Camera Component script found in the components folder.

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-LhpzZYkA8MYs5iveFam%2F-LhpzfvOtkeH5ZryL0Lv%2Ftankcam2.png?alt=media\&token=7e03c460-6695-4e39-ab55-7d3e8fe520b0)

Once the Tank Camera Component is in the Hierachy, simply add the enable Tank Camera Action to a trigger and configure it for use. The options avaliable to you for the Tank Camera are as follows:

* Enable/Disable Tank Camera
* Sensitivity (affects the movement speed)
* Character Lean (leans the player character while forward turning)
* Angular Speed (affects the animation when not moving forward)
* Movement Dircetion (changes the camera follow affect)
* Camera Rotate (changes the currect setting to Right Mouse Hold for Camera Orbit)

{% hint style="warning" %}
You must drag the Tank Camera Component from the hierarchy into the prefab slot in the Enable Tank Camera Action to use.
{% endhint %}

Different effects can be obtained using different settings. However, the Tank Camera is primarily developed for use without the mouse or when using one hand only, either mouse or keyboard.

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-LhpzZYkA8MYs5iveFam%2F-Lhq0_4atAxpe-SW6hML%2Ftankcam.png?alt=media\&token=ebfe57a8-bc93-483f-91a5-f792f4297555)

The Tank Camera does not replace the Game Creator Camera motors. It simply augments the Adventure and First Person Cameras, to simulate what is commonly known as a Tank Camera.

To get the full effect, you need to disable the horizontal input using the Unity Project Settinsg Panel. This must be done manually as Unity currently does not provide an API to the Input Axes settings. Although not essential, the Tank Camera will operate more smoothly by deleting a and d from Edit/Project Settings/Input/Horizontal - Alt Negative & Alt Positive buttons.

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-LhpzZYkA8MYs5iveFam%2F-Lhq3MtoTD5ZJzsBXGJa%2Fsettings.png?alt=media\&token=1453695d-820d-4cb0-8fe4-3c9b944ccde9)

{% hint style="success" %}
**Recommended Settings for players with Cognitive impairments:**

* Tank Camera: **Enabled**
* Sensitivity: **1.5**
* Character Lean: **10**
* Angular Speed: **720**
* Movement Direction: **Camera Direction**
* Camera Rotate: **Right Mouse Hold on**

Or allow the player to choose their own configuration using an in-game settings panel.&#x20;
{% endhint %}

{% hint style="danger" %}
Note: Currently there is no Character Animation when rotating the player with Movement Direction set to Camera Direction. This is planned for a future update.
{% endhint %}

{% hint style="info" %}
See the Examples Scenes and Settings Canvas provided with this Module.
{% endhint %}

