Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to calculate curvature of spline
#2
Hi,
By using Bézier splines (set the Interpolation parameter in a spline to Bezier), you can set the handles at each control point, allowing you to set precisely the shape you want. The handles' positions and the control points' positions are what define a shape of a Bézier spline. You can look on the internet about how to represent the shape you desire as a Bézier spline, then use the found formulas to set the right values on your Curvy spline. For example, here is how to define a circle: https://spencermortensen.com/articles/bezier-circle/
Keep in mind that Curvy already comes with a pre-made shapes, including circles. You can create them using the Create button in the toolbar: https://curvyeditor.com/documentation/toolbar#create
Did this help?
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
How to calculate curvature of spline - by jh092 - 07-29-2020, 08:14 PM
RE: How to calculate curvature of spline - by _Aka_ - 07-30-2020, 02:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 7 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 7 hours ago
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: