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
Information Curvy Splines is on sale _Aka_ 0 0 05-15-2023, 07:48 PM
Last Post: _Aka_
Exclamation Stack overflow when editing prefab containing splines rhys_vdw 5 23 04-10-2023, 10:17 PM
Last Post: _Aka_
Video How do I merge splines only if some control points are at the sam position? arcade.autumn 5 15 02-13-2023, 09:35 AM
Last Post: _Aka_
  Help with prefabbed splines henriqueranj 3 12 02-09-2023, 03:26 PM
Last Post: _Aka_

Forum Jump: