Cities: Skylines

Cities: Skylines

Move It
LOTA 2021 年 10 月 16 日 上午 9:35
Issue: Network Node Position Changes as Segments are Added or Moved
I noticed that the exact point used to set the position of a network node changes based on the network segments connected to it.

For example, say I place a road segment with nodes at coordinates N1 = (0, 0, 60) and N2 = (80, 0, 60). Opening the "Set Position" window for either of the two nodes will show them at the stated positions. However, if I add a new road segment connecting N1 to a new node at N3 = (0, 80, 60) and then open the "Set Position" window for N1, it shows its position as (0.9993057, 0.9993057, 60).

If I add another road segment connecting N1 to a new node at N4 = (-80, 0, 60), N1's position now shows as (0, 0.9993057, 62.5). Completing the cross with a fourth road segment going from N1 to a new node at N5 = (0, -80, 60) causes N1's position to be given as (0, 0, 62.5).

Now let's say I delete the two segments in the Y direction, leaving me with three nodes in a straight line giving their positions as N4 = (-80, 0, 60), N1 = (0, 0, 62.5), and N2 = (80, 0, 60). If I then place a new road segment connecting N1 to a new node at N6 = (-56, 56, 60), N1 now gives its position as (-12.31367, 0.7070618, 62.5).

If I use Node Controller Renewal (NCR) on N1 to "Make ends straight”, N1 now gives its position as (-12.31371, 12.02084, 62.5). Additionally, after using NCR on only N1, the other three nodes change their stated positions to (-79.95499, 0, 60), (79.95499, 0, 60), and (-55.96817, 55.96817, 60).

Is there any way to get more consistent behavior for this? This behavior makes it difficult to achieve precision layouts. Ideally, in the situation I've described I'd like the central node to always say its position is (0, 0, 60), regardless of what segments are connected to it and how it has been modified with NCR. And using NCR on the center node shouldn't affect the stated positions of the other nodes.

I noticed this position-shifting behavior in the main game, and I tested it in the Road Asset Editor to get the numbers given here, so what I've described should be reproducible.
最后由 LOTA 编辑于; 2021 年 10 月 16 日 上午 10:47