branchrust_reboot/main/vehiclescancel
1,903 Commits over 2,191 Days - 0.04cph!
From code review: Don't reuse MaxThrust Vector (+ some reformatting)
From code review: Don't reuse MaxThrust Vector (+ some reformatting)
From code review: Change driver input sets to be a ListDictionary, and use method getters instead of properties.
From code review: Change driver input sets to be a ListDictionary, and use method getters instead of properties.
From code review: LateUpdate fully enclosed by #if CLIENT
From code review: LateUpdate fully enclosed by #if CLIENT
- From code review: Replace AverageVelocity with native velocity system.
- From code review: Remove more cases of inited. isSpawned is a good substitute.
- Remove [RequireComponent(typeof(Rigidbody))] as it prevented removal on the client.
- From code review: Replace AverageVelocity with native velocity system.
- From code review: Remove more cases of inited. isSpawned is a good substitute.
- Remove [RequireComponent(typeof(Rigidbody))] as it prevented removal on the client.
From code review: Reformat serialized fields (see new Basecamp comment also)
From code review: Reformat serialized fields (see new Basecamp comment also)
Save rigidbody info, so data can be entered on the RB, but can still be used on the client which removes it.
Save rigidbody info, so data can be entered on the RB, but can still be used on the client which removes it.
From code review: Removed and replaced TransformPointToLocal/InverseTransformPointToLocal.
From code review: ModuleManager does now need to still be a MonoBehaviour since it uses a couple of Unity methods, but made that clearer.
Additional: Refactored ModuleManager classes a bit. Now TBase can be a BaseEntity which removes any need for casting.
From code review: Removed and replaced TransformPointToLocal/InverseTransformPointToLocal.
From code review: ModuleManager does now need to still be a MonoBehaviour since it uses a couple of Unity methods, but made that clearer.
Additional: Refactored ModuleManager classes a bit. Now TBase can be a BaseEntity which removes any need for casting.
Fix for random modular spawner double-adding modules. Simplifies module parenting as well.
Fix for random modular spawner double-adding modules. Simplifies module parenting as well.
From code review: AddMountPoint returns existing mount point if it's already added
From code review: AddMountPoint returns existing mount point if it's already added
From code review: Convert ID checks to use EqualNetID. Add extension method for comparing layer.
From code review: Convert ID checks to use EqualNetID. Add extension method for comparing layer.
From code review: Force specification of fuel loot distance, plus general cleanup of the EntityFuelSystem class.
From code review: Force specification of fuel loot distance, plus general cleanup of the EntityFuelSystem class.
From code review: Make lastAttackedTime internal
From code review: Make lastAttackedTime internal
Sorting out issues with drag etc
Sorting out issues with drag etc
Added chassis sound manager and skid sounds. More driving physics work.
Added chassis sound manager and skid sounds. More driving physics work.
Some random variation in fade-in time sounds nicer for multi-engine vehicles
Some random variation in fade-in time sounds nicer for multi-engine vehicles
Base RPM sounds on vehicle estimated max speed. Remove engine doppler as it doesn't sound good.
Base RPM sounds on vehicle estimated max speed. Remove engine doppler as it doesn't sound good.
Don't use UpdateWheelCollider at all, just rely on standard values
Don't use UpdateWheelCollider at all, just rely on standard values
Fix driving physics not correctly updating with mass/centre of mass changes
Fix driving physics not correctly updating with mass/centre of mass changes
Add module mass etc on client, so clients can get top speed estimate
Add module mass etc on client, so clients can get top speed estimate
Switch SoundManager to use IsUnityNull
Switch SoundManager to use IsUnityNull
Add Resharper DotSettings files to ignore list
Add Resharper DotSettings files to ignore list
Add IsUnityNull extension method that checks for both real null and Unity's fake null
Add IsUnityNull extension method that checks for both real null and Unity's fake null