Looking for foolproof way to update splines.

From the original config

mesh-length is length from the original.

Assuming there is no lod involved this format should do it, not sure about attached track as I've only ever done that on buildings etc however it appears to be as I have put at the bottom.

Code:
mesh-table
{
  default
  {
    mesh                                "track.im"
  }
}

track
{
  mesh-length                           3.00   [COLOR=#ff0000]insert value from length in original config[/COLOR]
  adjust-cross-section-to-ground        0
  
  track-lod-tree
  {
    mesh                                "default"
  }
}

attached-track
{
    track_0
  {
              track                                        <xxxxx:xxxxx>   [COLOR=#ff0000]kuid of track[/COLOR]
              useadjoiningtracktype                1                       [COLOR=#ff0000]value 1 or 0[/COLOR]

              vertices
            {  
                0                                              "a.track0a"   [COLOR=#ff0000]use the attachment points given in the original config[/COLOR]
                1                                              "a.track0e"   [COLOR=#ff0000]as above[/COLOR]
           }
      }
}
 
Last edited:
Back
Top