Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connections during speed change
#1
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
Reply


Messages In This Thread
Connections during speed change - by 3583Bytes - 03-24-2019, 02:50 PM
RE: Connections during speed change - by _Aka_ - 03-24-2019, 03:02 PM
RE: Connections during speed change - by _Aka_ - 04-05-2019, 10:44 AM
RE: Connections during speed change - by _Aka_ - 04-05-2019, 01:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connections Problem Juton 3 16 03-06-2024, 10:41 AM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  Are connections pooled? Lupos 1 3 05-09-2023, 09:18 AM
Last Post: _Aka_
  How to merge intersecting meshes at spline connections? Reign_of_Light 2 6 03-20-2023, 08:36 AM
Last Post: Reign_of_Light

Forum Jump: