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
Video How do I merge splines only if some control points are at the sam position? arcade.autumn 3 8 Yesterday, 01:40 PM
Last Post: _Aka_
  Shapes points orientation itsGama 3 4 01-18-2023, 02:51 PM
Last Post: _Aka_
  Way to make gameobject follow splines 'human-ly'? yun844 3 5 01-17-2023, 10:18 AM
Last Post: _Aka_
Rainbow Parallel Splines etoreo 1 5 01-05-2023, 09:13 AM
Last Post: _Aka_

Forum Jump: