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 helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Train-Wagon Wheels stathias 3 16 08-30-2024, 12:46 PM
Last Post: stathias
  Get position of all control points for a spline gekido 1 9 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_

Forum Jump: