Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Point along Spline
#1
Hello, 
   I am really enjoying this tool. 

  Sorry for the question, perhaps there is something I am missing in the logic of how splines work. 

  What I am trying to do is place a debug gizmo along the spline at a normalised value. 

  Something like; 

Code:
Gizmos.DrawSphere( thisSpline.InterpolateByDistance(speedTriggers[i].distance), 1);

Where distance is a value between 0,1. 

Regards,
Ian
Reply


Messages In This Thread
Point along Spline - by Ian@MrsWordsmith - 06-21-2019, 12:12 PM
RE: Point along Spline - by _Aka_ - 06-21-2019, 01:20 PM
RE: Point along Spline - by Ian@MrsWordsmith - 06-21-2019, 02:50 PM
RE: Point along Spline - by _Aka_ - 06-21-2019, 03:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  12_Train junction point richardzzzarnold 5 85 04-16-2025, 02:19 PM
Last Post: _Aka_
  Filling a closed spline dynamically rickgplus 1 51 04-16-2025, 08:56 AM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 453 02-04-2025, 09:31 PM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 189 02-03-2025, 09:34 AM
Last Post: _Aka_

Forum Jump: