Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Unity's SplineContainer in Curvy Splines
#1
Hi! Is there any way to use Unity's native SplineController for Curvy Splines components like Generators? Alternatively, is there a way to convert a Unity spline into a Curvy Spline?

Thank you!
Reply
#2
Hi

Both Curvy's and Unity's splines come with an API. So it is possible to write code that uses both APIs to convert from one to another. Once that conversion fully implemented, you would be able to use any tool, made for one of these two spline packages, with any of these splines.

Here is Curvy's API: https://api.curvyeditor.com/
Here is Unity's API: https://docs.unity3d.com/Packages/com.unity.splines@2.5/api/index.html

If you don't have the knowledge or time to write such a converter, let me know as I could implement this for you as part of a contractual work.

I hope this helped, and 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
#3
Has consideration been given as to replacing Curvy's spline API with Unity's entirely? Having multiple disparate spline systems within Unity is kind of silly, I'd love to see themĀ coalesce around the official API, since it seems quite feature filled. Is Unity's missing features that Curvy's has?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Distance travelled across multiple splines jh092 1 4 Yesterday, 09:44 AM
Last Post: _Aka_
  Finding relative position across connected splines DekoGames 1 5 02-05-2024, 10:11 PM
Last Post: _Aka_
  Curvy in Unreal Engine SAMYTHEBIGJUICY 4 5 02-02-2024, 12:12 PM
Last Post: _Aka_
Wink Modifying Splines at Runtime artsung 1 4 01-30-2024, 09:40 AM
Last Post: _Aka_

Forum Jump: