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 New free asset: Converter For Unity Splines _Aka_ 0 1 04-20-2024, 08:34 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Connections Problem Juton 3 16 03-06-2024, 10:41 AM
Last Post: _Aka_

Forum Jump: