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

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?

Thanks!
Reply
#2
Hi
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Generator Exception niek352 2 7 07-14-2022, 02:59 PM
Last Post: niek352
  Curvy 8.2.0 is live _Aka_ 0 5 04-26-2022, 02:09 PM
Last Post: _Aka_
Exclamation Runtime error when using Curvy Generator with Game Object Deform studentloan 3 13 04-22-2022, 09:00 PM
Last Post: _Aka_
Bug No demos running without exception with IL2CPP with Curvy Spline 8 studentloan 10 14 04-22-2022, 08:52 PM
Last Post: _Aka_

Forum Jump: