Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The wheels are in the wrong position
[Image: sc.png]

I tried to make the train run based on the sample scene. 
However, the position of the bogie and the main unit are not aligned.

[Image: image.png]

Is it because the value is wrong?
That script is just an example script used in an example scene. What it basically does, it and the Train Car Manager, is to setup instances of the Spline Controller, one for each train car and one for each pair of wheels.
I can't tell you what values to put, it depends on each use case (dimensions of the car, spaced between the wheels, etc.)
If that example script does not fit you use case, which might happen if your use case is too different from the example scene, then you will have to make your own setup, either using Spline Controllers, or by placing the objects using Curvy's API.
I hope this helped
Let me know if you have another question.
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.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  How could I get position in spline from "From" value in BuildRasterizedPath? Chanon 1 8 02-12-2024, 09:54 PM
Last Post: _Aka_
  Finding relative position across connected splines DekoGames 1 8 02-05-2024, 10:11 PM
Last Post: _Aka_

Forum Jump: