Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Splines control point Mixup with prefabs
#1
Hello,

I'm currently encountering a problem using splines in prefabs in Unity 5.3.1f1.
What I'm trying to achieve is making a prefab that contain a spline with two control points and a generator to have a road template.
I want to place that prefab all around the world, adjust the amount and position of control points to quickly make a road network and be able to adjust every road in one go easily by applying the changes on the original generator.

The problem is that when i use the prefab and extend the spline that it contain, the order of the control point mix up after i re open the scene.
Here is an exemple with a new spline without generator :

[Image: L4NAeqWk]

[Image: mlbyvUAF]

[Image: o7eGKHVA]

The problem seems to be much worse with the actual prefab i m trying tu use :

[Image: 7K0ROOYf]

[Image: CdkTZiTB]


Unity do not display any errors when this occurs.

Do you have an solution to avoid that issue or a workaround that can fit our workflow ?

in advance, thank you for your help.
Reply


Messages In This Thread
Splines control point Mixup with prefabs - by Yvain - 03-18-2016, 01:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with procedural roads and splines ramiroflores 1 3 Yesterday, 08:57 AM
Last Post: _Aka_
  Deforming prefabs with LODs along a spine LiveWire 4 12 05-01-2024, 04:53 PM
Last Post: _Aka_
Information New free asset: Converter For Unity Splines _Aka_ 5 19 04-25-2024, 11:11 AM
Last Post: _Aka_
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_

Forum Jump: