Create basic Vehicle Controllers for your Unity projects using vehicle models from Synty Polygon Battle Royale Asset.
Note: As this uses currently as of this writing say 7 of the vehicles types from such and due to licensing such said vehicles cannot be included in this repository obviously, so, as such the provided scripts and instructions thus require having / purchasing the Synty Polygon Battle Royale Asset: https://assetstore.unity.com/packages/3d/environments/urban/polygon-battle-royale-low-poly-3d-art-by-synty-128513
The intention of these releases due to only being scripts for usage with models one must already own or opt to purchase and as such was known that one could not release such models with the package here the intent was to provide basic vehicle functionality as a start point as fully functional in terms of an opinion of basic but leave out optional continuances in the hopes that these will be used as starting points for folks to continue on with and improve upon. Now, some of the things intentionally left out, umm, while all simply easy to add, lets see: say, audio sources, audio clips, particle systems for exhausts and also for explosion on turret say with on trigger raycast or projectile functionality for tank turret barrel say for example on the tank controllers as leaving these initializations of such aforementioned suggestions out was indeed intentional in the hopes that the end user will continue to add those as desired and continue to improve upon the provided start points. Also note that while yes, these are great hints, tips and or suggestions, if you were thinking say of what to add next, please note though, that is not to say if and or when I may find myself to have free time say I just may or may not opt to add such or some of such at later dates if desire or free time allows. Another thing to note is that I intentionally left out adding a fuel system to these at this time because again the intent was to provide basic functional vehicle controllers as starting points.
NOTE: This project was developed while / for using Unity 2021+ & 2022+ & Unity 6
- Armored Truck (100% completed) (total: 6)
- Dune Buggy (100% completed) (total: 6)
- Humvee (100% completed) (total: 6)
- Six Wheel Truck (100% completed) (total: 6)
- Sedan (100% completed) (total: 6)
- Tank RU (100% completed) (total: 6)
- Tank US (100% completed) (total: 6)
- Player & Vehicles Compass
- C-130 Airplane (...coming TBA)
- Dirt Bike (...coming TBA)
- Rib (...coming TBA)
Possible future additions: (if and or when my limited free time and desire may allow)
- Gas Station / Fuel System (0% Completed) coming TBA...
- Engine Audio (0% Completed) coming TBA...
- Horn Audio (0% Completed) coming TBA...
- Reverse Beeps Audio (0% Completed) coming TBA...
- Exhaust Particles (0% Completed) coming TBA....
- Vehicle Damage System (0% Completed) coming TBA... * still considering such eventually as a possibility since there are provided damaged vehicle prefabs in asset
- Mesh Deformation (0% Completed) coming TBA...
- Related Documentation(s) for above (0% completed) coming TBA...
Note: The following found below are related to the provided playercontrol script for usage example if say using vehicle entry script.
- Player Forward: W
- Player Reverse: S
- Player Left: A
- Player Right: D
- Player Jump: Space
- Player Sprint: Left Shift
Note: The following below are related to both variations either standalone vehicle controller usage and entry script usage.
- Vehicle Forward: W
- Vehicle Reverse: S
- Turn Left: A
- Turn Right: D
- Apply Brake: Space
Entry Script:
Note: The following found below are specific only when entry script is applied.
- Enter Vehicle: E
- Exit Vehicle: F
Note: Additional specific only to Tanks US & RU are the following controls specific to the tank turret and tank barrel movements:
- Mouse X
- Mouse Y
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-BasicVehiclesControl_ForSyntyBR/tree/main/Unity-2021-2022
-
Unity 6 => Files, ReadMe, docs: https://github.com/deathwatchgaming/Unity-BasicVehiclesControl_ForSyntyBR/blob/main/Unity-6