Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I get the closest Spline Control Point
#1
I've tried figuring out how to get the closet control point but nothing I've found gets me what I need. The closest I could find was TFToSegment, but that gives me a segment, not the control points. 

I'm trying to get the closest control point to my mouse position, so if I had a spline of 2 control points, and I'm at the start of a spline, I'd be at control point 1, if I was at the end of the spline, I'd be at control point 2
Reply


Messages In This Thread
How do I get the closest Spline Control Point - by Lupos - 05-08-2023, 07:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Spots from 2 samples. BitBlit 8 435 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 1,937 04-12-2026, 03:18 PM
Last Post: _Aka_
  Control Point Interpolation Overrides. rickgplus 1 711 12-11-2025, 08:52 AM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 839 11-13-2025, 11:32 AM
Last Post: _Aka_

Forum Jump: