Create a "Basic Helicopter Controller" for your Unity projects.
NOTE: This project was developed while / for using Unity 2021+ & 2022+ & Unity 6
NOTE: This currently still uses the Old Input System, so as such depending on what version of Unity you may be using it may be necessary to make sure such or both is enabled in project settings.
-
Roll: A & D
-
Pitch: S & W
-
Yaw: Q & E
-
Decrease throttle: Left Shift
-
Increase throttle: Left Control
-
Change Cameras: V (ie: Rear Camera, Belly Camera & Cockpit Camera)
(if the provided "as is" entry script is added)
- Enter: E
- Exit: F
Entry Script Note: the provided entry script is provided "as is" simply as a starting point as there are some further things that will need to be touched upon as you will find when you start tinkering with such. So note the starting point provided was the intention to then allow you the user to continue to expand upon this script further.
(player controller provided for entry script example)
- Player Forward: W
- Player Reverse: S
- Player Left: A
- Player Right: D
- Player Jump: Space
- Player Sprint: Left Shift
NOTE: 1 Helicopter model being: "MD-500 Defender Helicopter", is included for setup and usage example.
NOTE: 1 Helipad model being: "Helicopter Land / Helipad / Heliport", is included for setup and usage example.
Simply follow the linkages found below for documentation information / instruction respective to the version say for example either Unity 2021+ & Unity 2022+ or Unity 6....
-
Unity 20221+ & 2022+ => Files, ReadMe, docs: https://github.com/deathwatchgaming/Unity-Basic_HelicopterController/tree/main/Unity-2021-2022
-
Unity 6 => Files, ReadMe, docs: https://github.com/deathwatchgaming/Unity-Basic_HelicopterController/blob/main/Unity-6
