01-10-2022, 03:36 AM
![[Image: sc.png]](https://i.ibb.co/x3MTRQF/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]](https://i.ibb.co/0qXrpqy/image.png)
Is it because the value is wrong?
The wheels are in the wrong position
|
01-10-2022, 03:36 AM
![]() 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. ![]() Is it because the value is wrong?
01-10-2022, 11:23 AM
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.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
TF to world position | niuage | 2 | 4 |
03-06-2022, 08:16 AM Last Post: niuage |
|
best way to rotate, change offset, and inset position of splinecontroller object | smackledorf | 1 | 17 |
01-17-2022, 01:39 PM Last Post: _Aka_ |
|
![]() |
question about the local position | brucezhu99 | 4 | 494 |
09-18-2021, 12:02 PM Last Post: _Aka_ |
get world vector3 from absolute position on spline | hawken | 2 | 702 |
06-08-2021, 12:28 PM Last Post: hawken |