Passenger train disconnects before switch track
CheekierSky opened this issue · 14 comments
The passenger train always seems to disconnect with the engine when trying to use the switch. It doesn't seem to matter which curve, speed or train. I have tried using the coupling hook and that doesn't seem to fix the problem.
I'm new to Immersive Railroading so maybe there is something I'm doing incorrectly.
The mods I have installed are:
MrTJP Core
Forge Multipart
CodeChickenLab
Project Red Integration, Fabrication, Compat, and Base
Automated Redstone
CD4017BE Lib
Industrial Wires
Track API
Open Computers
IGW Mod
Immersive Engineering and Railroading
Traffic Control
Thuttcore
Thuttech
Mystical lib
BiblioCraft
Blockcraftery
Skye's Bakery
Little Tiles
Creative Core
Forgelin
SimplyLight
World Edit
Corail Pillar
MrCrayfish's Device Mod
Placeable Items
Xaeros Minimap
NiftBlocks
Carpenters Blocks
Optifine
Traffico+
Chisels and Bits
MrCrayfish's Vehicle Mod
Obfuscate
MrCrayfish's Furniture Mod
What version of Minecraft, IR and forge please.
Also if you use 'smaller' stock does it do the same? that is a very sharp curve.
Update: I tried it on curves (so no switch) on every preset curve and it does it then too. So...that would leave me to believe that it's a curve issue, not a switch issue?
Update 2: After further testing, it seems to work on perfect circles and if I start the train on a curve and go straight. If I start on a straight track or go to a straight track and curve again it breaks every time, every preset curve, and on multiple different-sized tracks. I hope these updates are helpful.
The cars are still coupled. The reason they appear to disconnect is because IR, to save on performance, calculates center-to-center distance, since the chord of a curve is shorter than the arc length, the cars will spread apart on fairly tight curves, to maintain the constant chord distance.
Well, then that seems like an issue in the physics accumulator. If you wouldn't be opposed, would you be able to remove the other mods one-by-one and see if it starts working after removing a certain one?
Update 3: I finally got it to work after some testing. If you start on a curve and go straight the length of the curve doesn't matter, but if you go from a straight to a curved track I noticed that the length of the track has to be 30 or higher or the train will disconnect no matter the degree of the curve. Because I'm new to immersive railroading, I'm not sure if that's typical or not. If this is typical then I'll close the repository. Thanks again for all of your help!
I'll mention this since it wasn't earlier: When you select "Turn" or "Switch", the meaning of the typed number box changes from length to radius. When we say a turn is "sharp", that means the radius is too small. IR is known to misbehave with turns of too small a radius for a particular rolling stock.
Radius and sharpness are not affected by the "preset slider", which sets the angular change of the turn.