Hi,
Thanks for your patience. I had finally access to a computer in my vacations. The code I send you lacks only a parenthesis. I wrote it on android, with no way to test it, thus the mistake. Here is the same code but with no parenthesis issue:
I tested it with your project, it works.
Have a nice day
Thanks for your patience. I had finally access to a computer in my vacations. The code I send you lacks only a parenthesis. I wrote it on android, with no way to test it, thus the mistake. Here is the same code but with no parenthesis issue:
Code:
Quaternion lookRotation = Quaternion.LookRotation(Spline.transform.TransformPoint(segment.ApproximationT[cachePointIndex]));
GameObject.Instantiate(GameObject, Spline.transform.TransformPoint(segment.Approximation[cachePointIndex]), lookRotation);I tested it with your project, it works.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

