Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get a point on the curve a distance away from another
#1
Hi,

Given a point on a curve, is it possible to get a second point a certain distance away from it that's also on the curve? this distance refers to the distance on curve, not point to point straightline distance.
Reply
#2
Hi
yourSpline.InterpolateByDistance(firstPointDistance + interval)
other methods that you might need
TfToDistance
GetNearestPointTF
more in api.curvyeditor.com
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
  Avoiding runtime GC allocations on control point position change Ell223 8 15 02-24-2024, 10:43 AM
Last Post: _Aka_
  Distance travelled across multiple splines jh092 1 5 02-23-2024, 09:44 AM
Last Post: _Aka_
  How to get travelled distance and distance to travel ommlmx 3 30 12-04-2023, 03:28 PM
Last Post: _Aka_
  Connection "next' control point jh092 3 14 11-22-2023, 11:47 AM
Last Post: _Aka_

Forum Jump: