10-19-2022, 09:23 AM
Hi
The Auto handles are calculated inside this method of the CurvySplineSegment class:
public void SetBezierHandles(float distanceFrag, Vector3 p, Vector3 n, bool setIn = true, bool setOut = true, bool noDirtying = false)
This methods is called with the following value:
distanceFrag = the value of the AutoHandleDistance property, displayed as "Distance %" in the segment's inspector. Default value is 0.39f
p: vector to the previous CP's position
n: vector to the next CP's posotion
Did this answer your question?
Have a nice day
The Auto handles are calculated inside this method of the CurvySplineSegment class:
public void SetBezierHandles(float distanceFrag, Vector3 p, Vector3 n, bool setIn = true, bool setOut = true, bool noDirtying = false)
This methods is called with the following value:
distanceFrag = the value of the AutoHandleDistance property, displayed as "Distance %" in the segment's inspector. Default value is 0.39f
p: vector to the previous CP's position
n: vector to the next CP's posotion
Did this answer your question?
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.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

