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
  Spawn at start/ end of splines rickgplus 4 476 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 249 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 623 02-26-2025, 09:40 AM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 683 02-14-2025, 07:11 AM
Last Post: vatan

Forum Jump: