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
  Extrude mesh along spline. New and confused user GhostStalker 3 7 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 19 12-21-2024, 10:14 AM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 8 12-10-2024, 10:14 PM
Last Post: _Aka_
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_

Forum Jump: