Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create a path with Curvy from a "position" animation with several keyframes

Is it possible to create a path with Curvy from a "position" animation with several keyframes? I would like to be able to modify the curve of the trajectory of my objects in real time. My objects have an animated position using keyframes and their movements are straight. I'm trying to use Curvy so that I can modify that animation to offer dynamic curves. How can it be done?

Not sure to have understood your exact use case, so my answer will be a bit of "spray and pray" answer Smile
  • The control points constituting a spline are game objects, meaning that whatever is used to animate a game object will work on them, including animations. Same applies for the properties of Curvy's components, as long as their type is compatible with animations (floats, ints, ...)
  • You can modify a spline at runtime using Curvy's API. The main class to manipulate a spline is CurvySpline
  • A Spline Controller has a Position property. That property can be modified using an animation to animate the movement of an object along a spline.
Let me know if none of the above helped answering 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.

Possibly Related Threads…
Thread Author Replies Views Last Post
Question question about the local position brucezhu99 4 113 09-18-2021, 12:02 PM
Last Post: _Aka_
  What is the performance of Curvy in iOS/Android ? codehawk64 5 395 09-01-2021, 10:30 AM
Last Post: _Aka_
  Curvy 7.1.5 is live _Aka_ 0 124 08-20-2021, 03:40 PM
Last Post: _Aka_
  Curvy Spline can't export connection? Yang Yi 1 237 07-31-2021, 03:09 PM
Last Post: _Aka_

Forum Jump: