Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline controller orientation
#1
Hey ! 

First, thank you for this amazing asset, I think it's very well made and it fits my needs perfectly, good job !

I have a small question regarding the Orientation of the spline controller. 
Currently, my spline controller is oriented like this (green lines) :

[Image: E9vipqN.png]

As you can see, it's orientation doesn't follow the spline perfectly.
I'd like to know if there is a way to orient my controller perfectly toward the spline. (Green lines should almost merge with the spline)

Here my are my parameters: 

[Image: CWHGvFA.png]

I setup my controller on the spline using:

Code:
float nearestPoint = refSplineController.Spline.GetNearestPointTF(transform.position, Space.World);

refSplineController.Position = nearestPoint;


Thanks you and please let me know if you need any additional information.
Reply


Messages In This Thread
Spline controller orientation - by itsGama - 01-21-2022, 05:32 PM
RE: Spline controller orientation - by _Aka_ - 01-22-2022, 12:04 PM
RE: Spline controller orientation - by itsGama - 01-23-2022, 05:35 PM
RE: Spline controller orientation - by _Aka_ - 01-24-2022, 12:37 PM
RE: Spline controller orientation - by _Aka_ - 01-24-2022, 06:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Issue Leading to Unity Freeze Pankaj09 1 206 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 165 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,083 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,475 04-12-2026, 03:18 PM
Last Post: _Aka_

Forum Jump: