Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AutoHandle slope
#2
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
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
AutoHandle slope - by tairoark - 10-18-2022, 04:10 PM
RE: AutoHandle slope - by _Aka_ - 10-19-2022, 09:23 AM
RE: AutoHandle slope - by tairoark - 10-20-2022, 06:36 PM
RE: AutoHandle slope - by _Aka_ - 10-21-2022, 06:31 AM

Forum Jump: