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 helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 5 13 10-29-2024, 10:19 AM
Last Post: _Aka_
  Can't set CG Path Controller j95677 4 22 10-04-2024, 06:55 PM
Last Post: j95677
  Invisible Gizmos In Latest Curvy Splines orrenravid1 1 5 06-11-2024, 07:36 AM
Last Post: _Aka_
  Rasterized Path Range issue proton 7 27 04-30-2024, 11:17 AM
Last Post: _Aka_

Forum Jump: