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
Photo Position in Input Spots not working on all directions. Mike Danielsson 2 9 09-03-2022, 02:22 PM
Last Post: Mike Danielsson
  TF to world position niuage 2 9 03-06-2022, 08:16 AM
Last Post: niuage
  best way to rotate, change offset, and inset position of splinecontroller object smackledorf 1 19 01-17-2022, 01:39 PM
Last Post: _Aka_
Question question about the local position brucezhu99 4 494 09-18-2021, 12:02 PM
Last Post: _Aka_

Forum Jump: