userBill Bcancel
reporust_rebootcancel

8,784 Commits over 1,735 Days - 0.21cph!

2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Merge General QOL -> Main
2 Years Ago
Revert most of 69231 - was only working on listen server
2 Years Ago
Merge General QOL -> Main
2 Years Ago
Merge Main -> General QOL
2 Years Ago
Fixed placeholder train carriage NRE
2 Years Ago
Remove unused FX from the placeholder train carriage
2 Years Ago
Fixed spark FX not stopping on train carriage
2 Years Ago
Updated train carriage colliders, both temp train parent triggers + extra stuff
2 Years Ago
Merge wheel_tangents -> rail_network
2 Years Ago
Manifest update for train carriage entity
2 Years Ago
Add a train carriage for testing
2 Years Ago
Renamed BaseTrain to TrainCar for clarity
2 Years Ago
Fixed incorrect GetDistance results for splines <40m long
2 Years Ago
Fixed incorrect height on some train track spline prefabs
2 Years Ago
Added float interpolator implementation. Simplified the generic interpolator code - no need for separate interpolator classes anymore, only separate entry types.
2 Years Ago
World spline shared data update
2 Years Ago
Made my interpolator generic. The original TransformInterpolator now inherits from it.
2 Years Ago
Added a float interpolator based on TransformInterpolator
2 Years Ago
Updated WorldSpline Prefab Shared Data to my newer lookup-table generating system
2 Years Ago
Send bogie rotation data as an RPC instead of full network syncs
2 Years Ago
Made GetDistance (used when spawning trains) around 3x faster. That's Good Enough™
2 Years Ago
Rewrote the lookup-table building and the GetPointAndTangentCubicHermite method for WorldSplineData - my previous attempt at a performance speedup was returning wrong values since spline estimated length doesn't usually quite match real-world length. There is almost certainly still a better implementation out there than what I'm committing here, but this works and is lightning fast.
2 Years Ago
New faster code for the GetDistance method
2 Years Ago
Eliminated the second step in TryFindTrackNearby. Will initially place spawned trains slightly less accurately but should be fine.
2 Years Ago
Greatly improved the speed of GetPointAndTangentCubicHermite for long single spline track pieces. Instead of looping through every LUT entry to find the closest distance, calculate where exactly it will be using known data. No more loop. Also fixes incorrect use of prevPos, which wasn't being set beyond its starting value.
2 Years Ago
Some tidy-up and formatting
2 Years Ago
Fixed wheel bogie rotation issues, and saved on network data by sending a float for bogie Y rotation instead of a full Vector3
2 Years Ago
Fixed trains sitting in the wrong place on the tracks if the centre of the train wasn't exactly between the two wheels, but now the bogie angle ends up wrong. Need to think about this some more
2 Years Ago
Added a new train engine made out of cube primitives and stuff
2 Years Ago
Fixed train wheels rotating in the wrong direction if the train had bogie rotation enabled and was facing in reverse direction on the track. Flip the tangent if the train if facing backwards.
2 Years Ago
Prevent "look rotation viewing vector is zero"
2 Years Ago
Made independent bogie rotation optional and disabled it for WorkCart (the model isn't designed for it).
2 Years Ago
Base the calculated WorkCart track positions on the pivot points of the front and rear bogies. Wheel bogies now align perfectly on curves.
2 Years Ago
Small merge from rail_network to wheel_tangents
2 Years Ago
Fixed Tomaha rear light not lighting up when braking. Removed unused VehicleLights script.
2 Years Ago
Fixed modular car camper module rear lights being always on, and fixed some modular car taillights not lighting up when braking.
2 Years Ago
Subtracted 69268 (accidentally deleted bone setup), and brought back the separate SMLights model. Updated VehicleLight settings.
2 Years Ago
Added support for VehicleLight to have a different renderer material index per renderer - needed for generic snowmobile. Updated all existing VehicleLights to the new serialized fields.
2 Years Ago
Get snowmobile vehicle light scripts automatically
2 Years Ago
Removed warning when spawning workcart on track that's generated at runtime
2 Years Ago
Cherry pick 69279
2 Years Ago
Fixed train track splines not always updating their data when changing them in editor
2 Years Ago
Server now determines and sends tangent data for the front and rear wheels, allowing the client to rotate the wheel bogies to match the angle of the track. Added to WorkCart. This still has some issues to sort out so committing to a branch for now.
2 Years Ago
Added a method to TrainTrackSpline to get a tangent from the lookup-table points. Also auto-formatted a few of my train classes to Rust standard formatting.
2 Years Ago
Ported some train engine code back into BaseTrain for future wheel work
2 Years Ago
Don't collate train tracks on the client, it's unneeded
2 Years Ago
Test map collates train tracks
2 Years Ago
Test map edit
2 Years Ago
▊▋▆▉█ ▉▇▅▅ -> 🚂