01-21-2022, 05:32 PM
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) :
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:
I setup my controller on the spline using:
Thanks you and please let me know if you need any additional information.
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) :
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:
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.