Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Distorted rail lines when copy-pasting generator
Hi, I'm adapted your railroad generator example to my own project which has straight and open-ended curved splines, not closed loops.
The rails objects are distorted (it appears to be an axis problem, as if the generator is expected a different spline input).

My splines are 2D on X/y axis. New to Curvy splines - where should I look to correct? 

Top view looking down (XY axis). Landscape is hidden.

Attached Files Thumbnail(s)
Does your generator have a non default transform? Meaning does it have rotations and scaling? If so, set the generators' rotation to 0, and scaling to 1, and see if it fixes the issue.
Otherwise, please send me a reproduction case so I can look closer at this.
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.
Hi, thank you. I compared again my example, and the correct sleepers/incorrect rail texture is a clue. I'm using the same spline for both inputs, and I see you use a different, linear spline for the rails. I'll try this and witness the results Smile

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb In Game Roads - Curvy Generator Prefab? etoreo 3 8 01-05-2023, 09:16 AM
Last Post: _Aka_
  Multiple Mesh Extrude Generator bakin 1 10 09-17-2022, 12:40 PM
Last Post: _Aka_
  How can I set the generator to stop updating? Chanon 3 18 09-08-2022, 02:54 PM
Last Post: _Aka_
  Curvy Generator Exception niek352 2 11 07-14-2022, 02:59 PM
Last Post: niek352

Forum Jump: