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
  Mesh Generation between two splines vatan 4 169 02-14-2025, 07:11 AM
Last Post: vatan
  OnAfterControlPointAdded - Control Point is null jh092 5 205 02-04-2025, 09:31 PM
Last Post: _Aka_
  Deforming prefabs with LODs along a spine LiveWire 7 212 01-22-2025, 10:59 PM
Last Post: rickgplus
  How to generate gameobject on the control point Yang Yi 1 65 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: