branchrust_reboot/main/snowmobilecancel
378 Commits over 120 Days - 0.13cph!
Code review: Moved VehiclePhysicMatList into TerrainConfig
New RigidbodyInfo prefab attribute allows clients to access rigidbody data. Now using it on snowmobiles and modular cars. Manifiest update.
Let snowmobile driver look down a little further
Snowmobiles: Don't tick fuel all the time
Replaced vehicle capsule clipping checks with a sphere check if the start and end pos are the same. Avoids a bug in Unity that treats capsule colliders with the same start/end point incorrectly when checking vs. a concave mesh colliders (seems to treat the mesh like a convex one or a bounding box).
Improved bump animation showing code
Merge new bump animation -> Snowmobile
Collision test - switch to continuous detection. May be fine, or may cause random sudden stops while driving fast on rough terrain. TBD
Simplified the generic snowmobile world collider
Removed Tomaha light double-ups, fixes visual z-fighting/flickering
Removed modular-car-engine-test-nice-setup
Increased snowmobile collision damage taken (was very low, still pretty low)
More wheel spin slip, it's cool
Limited the frequency of engine start fail sound
Added a small amount of suspension travel to the generic snowmobile treads
Rather than disable generic snowmobile headlights entirely (68413), remove the mesh, but leave the lighting
Fixed generic snowmobile ski snow FX now always showing up anymore
Merge SnowmobileFXFixes -> Snowmobile
Extend snowmobile rear world colliders enough to allow for a passenger to not get kicked off if it's backed up against a cliff
Improved handling of snowmobile rear passenger collision
Half fixed ski FX trails not showing, but angle is messed up
Improved lean anim code some more
Revert
68409, restore suspension changes
Snowmobile leaning mod. Lean more at 0 speed.
Fixed some minor remaining suspension visual issues
Fixed snowmobile terrain FX still playing when the snowmobile is visually slightly above the ground
Move Tomaha headlight light forward 5cm
Fixed snowmobiles not shifting audibly through all gears
Other suspension adjustments, both snowmobiles
Do an extra raycast on the snowmobile skis to help with visual clipping into the ground
Moved snowmobile particle FX to always sit at the position of the skis and treads
Add some additional fake tread rotation if we're faking extra wheel spin
Balanced snowmobile lean. Also fixed pose animation not playing.
Snowmobiles now optimised for lean (hooked up driver lean animations)
Set engine_on animation default weight to zero (generic snowmobile)
Fix snowmobile engine shake playing in incorrect situation
Match previous modular car behaviour exactly