Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
CartTrain
Host-only cart trains with vanilla-client support. Snap large carts into a physically tethered train without requiring other players to install the mod.
CHANGELOG
Changelog
1.3.1
- Added automatic two-sided disconnection when a connected cart is genuinely falling.
- Added ground-support, downward-speed, and fall-duration checks.
- Added configurable fall-safety settings.
1.3.0
- Converted CartTrain to host-only operation so vanilla players can join without installing it.
- Removed custom CartTrain Photon RPCs and link-state broadcasts.
- Link physics and custom visuals now exist only on the host.
- Added delayed automatic release when a vanilla player grabs a connected follower.
1.2.8
- Fixed pull-to-release when the tether spring prevents the configured distance from being reached.
- Added grab-force direction and relative-velocity detection for reliable release intent.
1.2.7
- Added pull-to-release so stretching a grabbed cart disconnects it instead of slinging it forward.
- Added configurable
PullDisconnectStretch, defaulting to0.3metres. - Added host-authoritative multiplayer synchronization for pull releases.
1.2.6
- Prevented pulled rear carts from slinging forward when released.
- Added mass-aware critical tether damping.
- Added a short smooth-settling period after releasing a pulled follower.
1.2.5
- Enabled collision between connected carts.
- Added continuous collision detection to reduce tunneling.
- Increased solver and depenetration quality to reduce carts becoming stuck together.
1.2.4
- Added a solid light-red tether visual between connected carts.
- Tether visuals follow the physical anchors and include a small natural sag.
1.2.3
- Connections now run from each leading cart's real handle point to the following cart's front.
- Updated route spacing to account for the actual handle reach.
1.2.2
- The held-cart HUD now disappears five seconds after grabbing begins.
- Moved the CartTrain HUD above the inventory-slot buttons.
1.2.1
- Added configurable
Xdetaching while actively grabbing a large cart. - Detaching removes both the held cart's incoming and outgoing links.
- Added a held-cart HUD with connection status and train position.
- Added host-authoritative multiplayer detach synchronization.
1.2.0
- Added physical one-metre front-to-back tethers.
- Added force-based virtual track constraints and route rotation alignment.
- Prevented badly aligned carts from snapping.
- Added a restorable v1.1.3 checkpoint.
1.1.3
- Adopted SelfMovingCart's proven
PhysGrabCart.FixedUpdateattachment pattern. - Adopted the game's master-client-or-single-player authority helper.
- Improved follower physics with Rigidbody velocity control.
1.1.2
- Fixed automatic snapping in single-player sessions where carts have no network View ID.
- Added cart-tracking diagnostics.
1.1.1
- Removed the synthetic rear button and key interaction.
- Corrected physical front/back detection.
- Added automatic front-to-back snapping.
- Added configurable one-metre spacing.
1.1.0
- First playable CartTrain implementation.
- Rear-button connection controls and configuration.
- Recorded-path follower movement.
- Multiplayer connection synchronization.