branchrust_reboot/main/WorkCartcancel
722 Commits over 395 Days - 0.08cph!
Where we're going, we don't need gravity
Don't add throttle forces if train is colliding
Trying a new hybrid physical and spline-based train movement system
Working on workcart collisions. Some issues, may need a new approach
Initial work on handling train/rigidbody and particularly train/train collisions
Override RealisticMass for all vehicles, making it match the rigidbody mass
Allow setting throttle properly while train is still starting up
Initial headlights implementation on WorkCart
Don't show train health info when the player is mounted
Allow for detecting the correct (closest) track spline when a single collider contains multiple train track splines
Let the train engine run with no driver in the seat, but stop it automatically if they leave with the throttle set to zero (save fuel from idling)
Collate train tracks in the train tunnels scene
Don't care about tangent angle when joining track
Stop LifeStory complaining and preventing spawn if there's no terrain topology in a scene
Train track tangents now take transform scale into account
Added train track splines to all the train tunnel track pieces
Test map edit, add test sedans on railway
Improved train speed control
Going back to kinematic track movement
Trying something with velocity
Better train driving, still a bit bumpy but improving
Get the train driving on the track manually again, along with the snap-to-spline. Not working very well, will probably need to change how this is done
Train track friction edit
Tuned PID values, removed wheel friction
Initial work on allowing real physics on the train while also keeping it on the track in normal conditions. Apply PID controller-style corrective forces
Correctly calculate the end of the rail line
Instead of updating the move distance for the front and rear train wheels independently, calculate just the front wheels and calculate the rear wheel position based on the distance between front and rear. Makes sure the front and rear wheel distance stays correct
Fix next/prev track distance calculations
Call track position finder recursively, letting trains handle any case where they're looking more than one track piece ahead. Save relative track orientation for next/prev track sections.
Train tunnels update / Prototype junction switch / Overpass polish
Workcart movement progress
Fixing train movement bugs
Fixed workcart glitching out when moving in reverse onto a previous track section
Workcart update
properly incorporated baked lod and material on LOD 3
updated workcart prefab
Updating workcart prefab and materials.
Work cart now has basic driving movement, follows along the train track spline
Fixed world space calculation of spline points and tangents. All track sections now find their next/prev sections correctly