Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Preferences] Create Curvy Splines at Position 0,0,0
Hi Jake,

today I tried laying some splines by a geo plan. The geo plan info based of absolute and relative positions.
I just move the cam to the required position and created some splines. Then simply move the Control Points to it's absolute world position based on the geo map.

Unfortunately all splines are created relative to the cam position x,y and z. For sure it's possible to remove the Spline Go to 0,0,0 and recalculate allĀ  Control Points by hand,
but that's a lot hand made work. And on mistake it must be done start again, or hoping that Unity does not trash the positions on Undo.

I would really love to have a preferences option to create a Spline strictly at position 0,0,0.
By creating a spline as usual, it will recalculate the origin to 0,0,0 and Control Points to it's real World Position.

(Henry Ford) Each hour more of searching is each hour less of your live time.

Have a look at the Pivot Wizard from the toolbox (API working similiar). It uses relative positions to set the pivot, but if you look up the source, you'll get the idea to create a method that does this with absolute values. Just turn that method into a toolbox button then.

Alternatively, create the spline at (0,0,0) before adding CP's.

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 12 34 Yesterday, 06:45 PM
Last Post: Ndogg
  Twisting Splines ZiggZagg 6 11 05-14-2024, 04:48 PM
Last Post: _Aka_
  Help with procedural roads and splines ramiroflores 1 6 05-07-2024, 08:57 AM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_

Forum Jump: