Hi, I ran into a problem which I just can’t figure out, although I spent a full day trying.
I use Curvy for a train game, each train and car has its own Spline Controller that I control through code. Mostly I was able to figure everything out but I have one bug I just can’t fix.
When the train + cars go over a Connection Point as I increase speed somewhere mid connection once a while a car will go to an incorrect spline. So the whole train switches but one car will not. This only happens once a while and only if I am increasing speed while going over the connection point.
It seems to be almost like the speed increase causes it to jump over the connection point and the car does not see it. I checked and the cars that don’t see the connection have the same Connection Behaviour as the cars that do (Random Spline exclude current). It’s its not like a forgot to set one. It’s just not seeing the connection point (once a while)
I thought maybe it’s related to caching or pooling but disabling both does not seem to help.
I am using the latest version of Curvy from the Unity Store.
Thanks
I use Curvy for a train game, each train and car has its own Spline Controller that I control through code. Mostly I was able to figure everything out but I have one bug I just can’t fix.
When the train + cars go over a Connection Point as I increase speed somewhere mid connection once a while a car will go to an incorrect spline. So the whole train switches but one car will not. This only happens once a while and only if I am increasing speed while going over the connection point.
It seems to be almost like the speed increase causes it to jump over the connection point and the car does not see it. I checked and the cars that don’t see the connection have the same Connection Behaviour as the cars that do (Random Spline exclude current). It’s its not like a forgot to set one. It’s just not seeing the connection point (once a while)
I thought maybe it’s related to caching or pooling but disabling both does not seem to help.
I am using the latest version of Curvy from the Unity Store.
Thanks