Release Notes
v1.5.7
Tidied up the demo scenes
Removed legacy/ unused items
v1.5.6
Added new package for Unity 6 Preview
Added Unity 6 Preview specific code, wrapped in code defines
Upgraded demo scenes for Cinemachine v3
v1.5.5
Added new package for Unity v2022.3
v1.5.4
Fixed
Improved ground detection so the size of the model shouldn't matter
Updated
Added SkidReverseSpeed to DriftSettings, allowing for custom setting of when skid marks and smokes are emitted when reversing
v1.5.3
Fixed
Fixed layer setup launcher not appearing. It now displays on asset import again
Updated
Improved positioning of the box collider in the prefab builder
Added tool tips to all Vehicle Settings options
v1.5.2
Fixed
Wheels now rotate again when steering the vehicle
v1.5.1
Added
Strafing now has it's own tilt value in the vehicle settings
Updated
Fixed minor typo in prefab builder help
Removed Cinemachine namespace include that snuck into VehicleBehaviour
v1.5
Added
Vehicle audio component added. This component is used for engine start, engine running, engine stop, drifting, collisions
Collision effects. Easily added particle effects for collisions.
Collision Manager component added. This component deals with the collision events and calls its own events to pass them to the new audio and effects components (OnVehicleCollisionEnter, OnVehicleCollisionExit, OnVehicleCollisionStay)
Drift settings are now a ScriptableObject. These are required for Vehicle Effects (drift tire marks/ smoke) and Vehicle Audio
Engine can now be toggled on/off, with an option to auto start (new events added for these - OnStartEngine, OnEngineStarted)
Tight/ loose ground follow option
Updated
Ground alignment has been greatly improved, following the contours of the ground much better than before
Vehicle will now rotate towards the ground as it falls through the air (optional, this can be toggled in the VehicleSettings)
VehicleSettings have been updated to add all the new features
Prefab builder tided up and new features added. UseBoxCollider is now forced to true, older setup is being phased out
Fixed
Now using OnGround raycast to accelerate, instead of NearGround as this allowed the vehicle to change direction and move in the air causing weird movement. This also lead to the tight/ loose ground follow option being added
Setting the position when a vehicle is using the box collider setup no longer ends up in the model spinning around
v1.22
Added
Added package for Unity v2021.3 (LTS)
Fixed
Fixed vehicle never reaching MaxSpeed NOTE: With this update all your current speends may need lowering by 6.
Update
Code tidy and improvements
v1.21
Added
Added the ability to turn the vehicle engine on/ off. Auto start is on by default, this setting can be toggled on the VehicleBehaviourSettings
Update
Improved ground alignment
Moved all method calls in VehicleBehaviour and ExampleAIMovement out of Update() and into FixedUpdate()
v1.20
Added
Added class to rotate wheels, allowing for more than 4 wheels: Link
Added class to turn wheels, allowing for more than just the front two wheels to turn: Link
Update
Additional prefab builder setting saved that previously wasn't
Fixed
Fixed bug when adding trails after builder hasn't found a wheel
v1.19
Added
Added CurrentSpeed property to return the current speed as a float
Update
Improved slope sliding
Fixed
Fixed vehicles using the box collider setup not sliding down slopes
v1.18
Update
Added new vehicle setting 'Slide Threshold'. This allows you to tweak when a vehicle will start sliding down a slope
v1.17
Update
Front wheels turn when stationary
Renamed property 'PhysicsSphere' to 'VehicleRigidbody'
Moved all create items into AVC sub-menu
NOTE: This update may cause the VehicleBehaviour to lose the Rigidbody assignment. If your vehicles don't move after updating, please re-assign the vehicles Rigidbody to the VehicleBehaviour component field 'VehicleRigidbody'
v1.16
Added
Added a new public jump method to VehicleBehaviour, use Jump(float) - where the float is the force to jump by
Added a new class 'VehicleBehaviourLinker' to make it easier to get the VehicleBehariou - see the SphereRigidbody GameObject on the example vehicle prefabs for its use
v1.15
Fixes
Fixed the ground check, the size of the vehicle should now no longer matter
v1.14
Added
Added package for Unity v2020.3 (LTS)
Added touch screen controls example
Updates
Removed left over trigger colliders from prefabs
No longer updating packages for 2020.1
Fixes
Fixed position of smoke on AI motorbike
v1.13
Updates
Threewheel option now available - with example.
Turning and strafing methods now accept floats instead of ints.
Tidied up the code a bit.
Hidden some more console warnings.
v1.12
Updates
Separated forward tilt and turn roll, allowing for rolling even with a forward tilt of 0.
Prefab builder now assigns model parent for body tilting.
Scene is now set dirty on creation of a new vhicle via Prefab Builder.
Undo will undo the vehicle creation.
Fixes
Corrected use of VehicleBodyTilt settings, this value now has an affect on the vehicle tilt.
Fixed bug with trails when swapping from 4 to 2 wheels.
v1.11.3
Updates
Updated Car prefab to correct rear wheel rotation.
Code tidy
v1.11.2
Added
Added tooltip to ForwardTilt in vehicle settings.
Fixes
Fixed an error when setting the forward tilt to 0.
v1.11.0
Added
IsBoosting property added.
Added angular drag to vehicle settings.
Added new option to prefab builder, to build vehicle with box collider instead of sphere.
Updates
Forward tilt min decreased to 0.
v1.10.0
Added
Added pacakge for Unity v2020.1.
Updates
Improved example AI.
Removed extra sphere colliders that weren't doing anything from AI.
v1.9
Added
Added package for Unity v2019.4.
Added tool to fix wheel rotation when model pivot points arent centered correctly.
Docs moved online.
Fixes
Fixed SetPosition, vehicle no longer carries on moving
Corrected turning whilst reversing.
v1.8
Updates
Fixed all console warnings.
v1.7
Updates
Improved ground check, allowing for the sphere collider to be resized.
Improved vehicle movement to make the camera follow much smoother.
Stopped setup launcher opening after any package has imported, it only opens when AVC is imported.
Removed
Removed unused param from VehicleEffects method.
v1.6
Added
Added setup window to make layer setup unmissable.
Removed
Removed unused var from editor window.
v1.5
Added
Added the option to disallow vehicles turning when stationary.
Added a LayerMask to the grounded check.
Fixes
Fixed cinemachine target follow stutter. This happened because the target was being updated in FixedUpdate() and LateUpdate(), now everything is in FixedUpdate().
v1.4
Added
Added new Vehicle Setting to stop vehicles sliding down slopes sideways. This can be toggled on/off.
v1.3
Added
Addeed boost.
Updates
Improved movement code.
v1.2
Added
Added support for Unity 2019.3.
Added strafing.
Added new vehicle example (Helicopter) to show how to use strafing.
Added two new methods for speed penalties when changing surface.
Updates
Raycast for grounded is now set dynamically, allowing for the vehicle model to be higher off the ground.
Removed
Removed left over collider from all prefabs and it is no longer added when creating a new one.
v1.1
Fixed
Fixed all demo scenes and prefabs.
Removed
Removed wrongly included items.
Removed post processing dependency, so it doesn't conflict with/mess up your projects post processing setup.
v1.0
First release
Last updated