Posts: 1
Threads: 1
Joined: Apr 2021
Hello
First of all love the asset.
I have something that my character throws that i want to return to him using a spline now since i don't always know where the player will throw the object i need to create it at runtime (i think)
is something like this possible and if so how?
Posts: 2,077
Threads: 88
Joined: Jun 2017
Hi
Thanks for loving Curvy Splines, the world needs more love
Yes you can use the API to create splines. Check api.curvyeditor.com for detailed information, and for some useful information: https://curvyeditor.com/documentation/extend/apigeneral
If and when you feel like it, please leave a review for the asset, that helps a lot.
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.
Posts: 2,077
Threads: 88
Joined: Jun 2017
And to give more details, something like:
Code:
var spline = CurvySpline.Create();
//set up your spline
spline.Interpolation = ...;
spline.Add(...);
spline....
....
yourSplineController.Spline = spline;
yourSplineController.Play();
yourSplineController.Speed = ...;
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.