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
  Import Curvy from json Issue mlndb10wN 5 148 05-29-2019, 06:46 PM
Last Post: _Aka_
  Spline Controller Position Force Update ? UsernameHed 1 97 05-16-2019, 12:20 PM
Last Post: _Aka_
  Curvy Coppy all points of a Spline Into Another UsernameHed 3 199 05-13-2019, 11:37 AM
Last Post: _Aka_
  Curvy Offset with Lerp UsernameHed 2 146 05-10-2019, 07:36 AM
Last Post: UsernameHed

Forum Jump: