Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How could I get position in spline from "From" value in BuildRasterizedPath?
#1
How could I get position(vector3) in spline from "From" value in BuildRasterizedPath?
Reply
#2
Hi

That should be doable like this:
spline.InterpolateByDistance(From*spline.Length);

I hope this helped.
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
  GO can't fit end of the spline GameDeveloperek4123 2 7 Yesterday, 12:07 PM
Last Post: GameDeveloperek4123
  Avoiding runtime GC allocations on control point position change Ell223 8 15 02-24-2024, 10:43 AM
Last Post: _Aka_
  Keeping a fixed spline length jh092 3 14 02-21-2024, 06:25 AM
Last Post: Primrose44
  Add noise to spline controller movement DekoGames 2 8 02-06-2024, 01:28 PM
Last Post: DekoGames

Forum Jump: