Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extrapolate past curve endpoint
#1
Hi - I'm using Curvy for animation purposes and I'd like to have the ability for an object to shoot past the endpoint of the curve slightly.

Basically, this kind of curve:

[Image: curves_elastic_out.gif]

I can think of a couple ways to workaround this limitation. For example, I can measure the length of the curve, base the animation off that length, and then dynamically add another node along the tangent of the curve at the endpoint, so there's a bit of extra distance to play with for the animation.

Just wondering if there's an easy built-in way to accomplish this, or if I need to script up the solution myself.
Reply
#2
Hi,
Sorry, there is no such feature built-in. You will hae to script it. You will probably have to use the tangent at the last point of the spline to know where to extend your movement. Use yourSpline.GetTangent(1) to do so.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
Figured, thanks for the confirmation!
Reply
#4
You are welcome.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Morph game object along curve. mikechr2000 5 702 02-04-2025, 09:30 PM
Last Post: _Aka_
  Scaling a closed curve rickgplus 1 355 01-16-2025, 06:52 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 551 04-02-2024, 02:24 PM
Last Post: _Aka_
  Can Curve Spline be used for an in game level editor. Lupos 30 3,861 06-03-2023, 10:58 AM
Last Post: _Aka_

Forum Jump: