v2.21 05/08/2024
- Upgraded to Unity 2022.
v2.18
29/05/2023
- [VariableCenterOfMass] Fixed null issue when the GameObject is disabled.
- [Vehicle] onActiveVehicleChanged now passes previous and current vehicles as params.
- [WaterObject] Fixed the issue where when there are no WaterDataProviders active the WaterObject would remember the data from the last WaterDataProvider, instead of falling back to default.
v2.16
19/05/2023
- Fixed intermittent NaN error caused by WaterObject.
- Fixed SailController lift force direction, introduced in 2.15.
v2.14
11/05/2023
- Added SailPresets to SailController for better adjustability. These replace the previous lift and drag coefficients and the fixed force calculation.
- Tab now toggles the demo UI.
v2.13
03/05/2023
- Cleaned up and commented out the sailing code. Added custom editors for all the sailing scripts.
- Rework of the Submarine and Sink components. Both are now just VariableCenterOfMass MassAffectors, meaning they act as variable weight/ballast attached to the ship.
- Transform position of the Sink component itself now determines the center of mass offset point / point of water ingress.
- Submarine depth input now changes the relative depth instead of setting the absolute depth value. This means that negative input means deeper, positive input means shallower.
v2.10
15/04/2023
- “VehicleReflectionProbe” and “FollowVehicleState” are now in Common code and available in DWP2.
- Fixed GC issue with Mathf.Min.
- Exposed “Awake On Start” option in Settings.
- Added underwater fog to the demo.
- Fixed WaterObject spamming prefab Overrides.
v2.9
12/04/2023
- Common code update.
- 'registerWithVehicleChanger' and 'autoFindVehicles' have been removed as they add unneeded complexity. Use VehicleChanger.Instance.RegisterVehicle() and DeregisterVehicle() after spawning a vehicle instead.
- Vehicles no longer get woken up automatically if VehicleChanger is present and active.
v2.6.0
06/04/2022
- Added Mirror and PUN2 multiplayer support for AdvancedShipController.
- Added StartOnThrottle option to Engine.
v2.5.6
05/04/2022
- Changed WaterDataProviders from file rename approach to Scripting Define Symbols approach.
- Missing or incorrectly configured trigger collider on the WaterDataProvider will now get automatically added if missing, throwing just a warning instead of error.
- Demo UI changes.
- Improved the documentation regarding WaterDataProviders.