Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The wheels are in the wrong position
#1
[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?
Reply
#2
Hi
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  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_
  Getting object on spline Position when Spline has coordinates larger than 2000 velikizlivuk 5 10 09-05-2023, 01:01 PM
Last Post: velikizlivuk

Forum Jump: