HowTo/Bridge/follows-spline-gradient

From TrainzOnline
Jump to: navigation, search

follows-spline-gradient

This is a compulsory tag with the track container

follows-spline-gradient If this boolean value is set "1", the mesh is deformed to smoothly follow the height-gradient of the spline. If set to "0", the mesh is instead deformed to follow the ground height along the centre-line of the spline ("adjust-cross-section-to-ground 1") or under each vertex ("adjust-cross-section-to-ground 0"). Certain in-game state, such as having set a height gradient onto the spline (yellow track vertices in Surveyor) or residing on a parent bridge spline, may override this option.

Personal tools