Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Preferences] Create Curvy Splines at Position 0,0,0
#1
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.

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

Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 1 2 4 hours ago
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 1 1 4 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 4 hours ago
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 4 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: