kianzarrin / NodeController

10 stars 9 forks source link

refresh junciton data also uses min corner offset #25

Closed kianzarrin closed 3 years ago

kianzarrin commented 3 years ago
vector += a * Mathf.Max(2f + num * 2f, info2.m_minCornerOffset * 0.4f);

the line above in RefreshJunctionData should be patched to use the new corner offset.

EDIT: this means changing min corner offset using the asset editor would result in a different result than changing it using the node controller. I think the difference is WRT to the calculation of the center of the node.

kianzarrin commented 3 years ago

I hope fixing this does not cause too much trouble in terms of backward compatibilityity

kianzarrin commented 3 years ago

I fixed this. it won't cause too much trouble