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
  get world vector3 from absolute position on spline hawken 2 90 06-08-2021, 12:28 PM
Last Post: hawken
Shocked Change spline path at runtime burn0815 7 381 05-27-2021, 08:27 PM
Last Post: _Aka_
  Get position on spline relative to world position Mos Def 9 822 05-20-2021, 08:32 AM
Last Post: _Aka_
  Spline Shape not centering around Spline Path tfunitydev 3 335 05-13-2021, 08:50 AM
Last Post: _Aka_

Forum Jump: