Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotation of Curvy Spline Segment
#1
Hi there,

I've recently purchased Curvy, thank you very much.

I'm am using a Bezier spline with Auto Handles set to off. I can click and drag the handles around to "rotate" the segment, that's fine. What I need to do however is this same result but in code via the API (I assume).

I notice that changing the Curvy Spline Segment transform rotation has no effect at all (only using the Y axis).

So my question is, how can I "rotate" the handles/segment in code. The handles areĀ mirrored and don't need to move in or out, just around. An example use case might be using the keyboard to rotate the curve segment for example.

Hope this makes sense, thanks again and best wishes from Australia

John
Reply
#2
Hi,
Take a look at the 4 properties of the CurvySplineSegment whose names start with "Handle". This is how you set handles via API
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 145 06-07-2025, 09:44 AM
Last Post: _Aka_
  Filling a closed spline dynamically rickgplus 1 368 04-16-2025, 08:56 AM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 358 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 1,349 01-20-2025, 12:25 PM
Last Post: _Aka_

Forum Jump: