Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closest Point on a curve spline.
#1
Hi everyone,

   I'm new using Curvy plugin. I want to get the closest point on a spline from an arbitrary point in the space but I'm stuck. 

   I've created a closed curvy spline. When the game starts, I create a sphere in the world and then I look for the nearest point. I'm using the method curvySpline.GetNearestPointTF(spherePosition) but it always return -1.

   What am I doing wrong?

Thanks in advance.
Reply


Messages In This Thread
Closest Point on a curve spline. - by Random - 03-23-2017, 09:45 AM
RE: Closest Point on a curve spline. - by Jake - 04-05-2017, 05:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 1 2 11 hours ago
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 1 1 11 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 11 hours ago
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: