More realistic train movement. Previously Carriage would follow position and gradient of track graph via TravellingPoint, but not tilt. As track graph is considered joint of lines/curves, additional handling is needed for this. (can be simply get from BezierConnection.getNormal(t) though)
More realistic train movement. Previously
Carriagewould follow position and gradient of track graph viaTravellingPoint, but not tilt. As track graph is considered joint of lines/curves, additional handling is needed for this. (can be simply get fromBezierConnection.getNormal(t)though)DimensionalCarriageEntity.railx$tilt.Carriage.updateContraptionAnchors()updates tilt value.OrientedContraptionEntity.railx$rollandgetRailx$viewZRot().DimensionalCarriageEntity.alignEntity()applies its roll value toOrientedContraptionEntity.