branchrust_reboot/main/snowmobilecancel
460 Commits over 334 Days - 0.06cph!
Disable the animator when a snowmobile is off and not moving. Fixes the Tomaha suspension snapping to the wrong position when active updates stopped.
Make sure one final forced update tick happens when update tick is stopped, even if the player is looking away
Fixed bugs with update ticks on ground vehicles. VehicleChassisVisuals was assuming that UpdateTick would always run.
Fixed 6cm side offset in snowmobile driver eye position
Changed snowmobile starting fuel from 20 to zero
Simplified the ground material code - reusing existing TerrainConfig data.
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
directional driver reaction anims, updated animator with reaction layer
Snowmobiles: Don't tick fuel all the time
snowmobile driving - adjusted transition in/out for reaction, also slowed down in the animator
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
▇▉, ▇▌▍▌▋ ▆▉▉▆▍▆ █▆ ▇▊▄▄▋▅
▌▆▊▊ █▍▇▋█▅ █▅▉▍▉▊▆█▄▇ ▄▉▇ ▄▆▍▌ ▅▊▄ ▆▇▆▍▉/▅▅▅▆ ▌▌▅▌▋ ▆▇▇▄▉▅
Splatted some dirt onto the test map
Pass on snowmobile secondary surfaces fx (custom snowmobile position fixes pending)
Use bespoke dirt FX for snowmobiles instead of generic wheeled vehicle.
Snowmobile player reactions - Added override player controller
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
Fixing all the snowmobile FX that got broken in some prior commit, part 1
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