11-15-2015, 04:48 PM
Thank you very much for the solution provided over email.
I do have another problem now I really hope you can help me with.
I have to keep generating road (and delete the parts behind me) and I've found it simple to just instantiate a new CurvySpline (from prefab) to continue the road and later on delete the spline behind. This however leads to two problems:
- when instantiating the new spline, it stutters for a second (on PC and my target is mobile)
- the point where I want the two splines to join, looks like this:
Do you know how I can fix these problems? Maybe I should do it some other way, like adding to/removing from a single spline?
Thanks a lot,
Ioan Marcu
I do have another problem now I really hope you can help me with.
I have to keep generating road (and delete the parts behind me) and I've found it simple to just instantiate a new CurvySpline (from prefab) to continue the road and later on delete the spline behind. This however leads to two problems:
- when instantiating the new spline, it stutters for a second (on PC and my target is mobile)
- the point where I want the two splines to join, looks like this:
Do you know how I can fix these problems? Maybe I should do it some other way, like adding to/removing from a single spline?
Thanks a lot,
Ioan Marcu