Skip to content

Commit de2a45d

Browse files
committed
Documentation tweaks
1 parent 91d2d26 commit de2a45d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Source/Documentation/Manual/features-rollingstock.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,10 @@ should use the articulation behavior.
437437
To forcibly enable the articulation behavior at the front of the rail vehicle, use
438438
``ORTSFrontArticulation ( 1 )`` and at the rear use ``ORTSRearArticulation ( 1 )``.
439439
Conversely, use ``ORTSFrontArticulation ( 0 )`` or ``ORTSRearArticulation ( 0 )`` to
440-
force disable articulation behavior. Entering a value of -1 provides the default
441-
automatic behavior.
440+
force disable articulation behavior. Articulation should generally be enabled on the
441+
'floating' end(s) of a vehicle, where a bogie or wheels are not present in the 3D
442+
model, and disabled on the end(s) that have wheels. Entering a value of -1 provides
443+
the default (automatic) behavior.
442444

443445
Freight animations and pickups
444446
==============================

Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2735,7 +2735,7 @@ public void SetUpWheels()
27352735
// and the rest left out.
27362736

27372737
// Force articulation if stock is configured as such
2738-
// Otherwise, use default behavior which gives articulation if there are no axles forward/reareward on the mode,
2738+
// Otherwise, use default behavior which gives articulation if there are no axles forward/reareward on the model,
27392739
// disables articulation on engines, and only allows articulation with 3 or fewer axles, but not 1 axle
27402740
bool articulatedFront = (FrontArticulation == 1 ||
27412741
(FrontArticulation == -1 && !WheelAxles.Any(a => a.OffsetM.Z < 0) && WagonType != WagonTypes.Engine && WheelAxles.Count != 1 && WheelAxles.Count <= 3));

0 commit comments

Comments
 (0)