Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Twisting Splines
#4
Hi,

Rotating a Control Point to induce a spline twist works only up to 180°. Anything beyond needs the Swirl feature.

Every CP in the spline is part of an Orientation Anchor Group. A group is limited by two Orientation Anchors. By default, a spline has only one group, and the anchors are the first and last CPs.
To visually distinguish Orientation Anchors, make sure to set the right visualization settings, and look for the anchor icons
   

Swirl settings are available only to orientation anchors. When you set a swirl, you can choose to apply it to a segment, or to a whole group.
To set a CP as an Orientation Anchor, tick the Orientation Anchor setting in its inspector.

I attached a scene that does what I understood you need. The second cube is place just at the end of the swirling group. Since it has a spline controller, its orientation is defined by the splines'. In other words: Swirl -> change spline orientation -> change cube orientation.

To learn more about spline orientation, here is a link to this tutorial. It is old now, so the settings shown in the video have a bit changed since, but you can get the global idea I believe:
https://www.youtube.com/watch?v=hHLdW_FRtfw

Please let me know if this helped or not.
Have a nice day.


Attached Files
.unity   orientation anchor.unity (Size: 25.79 KB / Downloads: 2)
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
Twisting Splines - by ZiggZagg - 05-09-2024, 06:26 AM
RE: Twisting Splines - by _Aka_ - 05-09-2024, 03:22 PM
RE: Twisting Splines - by ZiggZagg - 05-10-2024, 04:56 AM
RE: Twisting Splines - by _Aka_ - 05-10-2024, 01:36 PM
RE: Twisting Splines - by ZiggZagg - 05-11-2024, 05:53 AM
RE: Twisting Splines - by _Aka_ - 05-10-2024, 01:37 PM
RE: Twisting Splines - by _Aka_ - 05-14-2024, 04:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connections Between Opposing Splines lockiidraws 1 587 12-04-2025, 02:14 PM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 2,883 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 1,820 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 3,225 02-26-2025, 09:40 AM
Last Post: _Aka_

Forum Jump: