03-23-2020, 01:56 PM
Hi,
By looking at your code, I don't see what causes the issue. Could you Log posMiddle, posFront and posBack and see if the values are different between editor and build? I expect it the values to be different. If so, add more logs in the code that is defining those values, you might find what is wrong.
Also, a minor thing that has probably nothing to do with the issue: you assign "Track" to motor[u].Spline, shouldn't you assign the parameter "spline"?
Have a nice day
By looking at your code, I don't see what causes the issue. Could you Log posMiddle, posFront and posBack and see if the values are different between editor and build? I expect it the values to be different. If so, add more logs in the code that is defining those values, you might find what is wrong.
Also, a minor thing that has probably nothing to do with the issue: you assign "Track" to motor[u].Spline, shouldn't you assign the parameter "spline"?
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.