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
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
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: