Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do join 3 splines && Orientation problem
#1
Hi
I have 3 different spline controllers, each spline has 2 control points. Each spline starts where the previous one ended. I'm trying to also have them start with with the orientation of the last control point but I seem to not be able to affect it at all for some reason,  

So my questions are:

1) I'm using this to set the rotation of the first CP but it doesn't seem to do anything 

.LastVisibleControlPoint.transform.rotation =

2) Can I join the 3 splines into one dynamically and ensure rotation is smooth or that it makes sense?
Reply
#2
Hi,
1-a What is the "Orientation" value in the Curvy Spline's inspector?
1-b Prefer using the LastVisibleControlPoint.SetRotation instead. Read it's documentation to understand why
2- Just move the control points out of their current splines into one common spline
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
(07-02-2020, 11:01 AM)_Aka_ Wrote: Hi,
1-a What is the "Orientation" value in the Curvy Spline's inspector?
1-b Prefer using the LastVisibleControlPoint.SetRotation instead. Read it's documentation to understand why
2- Just move the control points out of their current splines into one common spline

Thanks
It was actually user error  Angel but i switched to using .SetRotation() none the less
Reply
#4
you are welcome
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Splines Built In Editor Undo causes issues. Lupos 1 7 10-02-2023, 08:52 AM
Last Post: _Aka_
  Multiple Splines and Generators Performantly for Road System drock 1 3 07-17-2023, 10:31 AM
Last Post: _Aka_
Information Curvy Splines 8.0.0 is available, and it is a big upgrade _Aka_ 3 95 06-29-2023, 08:23 AM
Last Post: Marki
  Switch Spline Problem erenjeagerot 4 11 05-30-2023, 10:49 AM
Last Post: _Aka_

Forum Jump: