kianzarrin / NodeController

10 stars 9 forks source link

Node Slope on start up not working #26

Open LordSmeghead opened 3 years ago

LordSmeghead commented 3 years ago

Hi there, so on launch of the game some nodes are no longer smoothed out meaning that roads end up being incredibly lumpy. It fixes itself by selecting any node within the stretch of slope but it is kinda annoying as it happens at every game launch output_log.txt NodeController.log Screenshot 636

LordSmeghead commented 3 years ago

Newer output files NodeController.log output_log.txt

simonlmn commented 3 years ago

I see the same effect (flattened nodes which I previously changed to sloped), but only for some nodes/segments. It is always the same and reproducible, though.

After activating the NodeController tool and selecting the node it immediately gets updated and has the correct slope again. I cannot find anything obvious by looking at the code, but at least the "update" logic running on/after level load is not exactly the same as the logic running when selecting a node. So maybe there something different in one of the "Update" methods.

A potential "fix" could be to do exactly what the manual fix does: iterate over all nodes and "select" them once.

kianzarrin commented 2 years ago

is this resolved?