Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get realtime F value between control point.
#4
(02-01-2017, 07:30 PM)Jake Wrote: To convert between TF and F use CurvySpline.TFToSegment(), to convert from F to TF use CurvySplineSegment.LocalFToTF().

To interpolate by F just use Interpolate() and variants on the CurvySplineSegment - they all use F/LocalF.

Hello Jake.

I tried your suggestion. I have successed in getting CurvySplineSegment.

like this

CurvySplineSegment ss = spline.TFToSegment(sc.RelativePosition);

but I don't know how to get Local F.

ss.Interpolate(float localF)  << I want to use this function. but  I don't know how to get Local F.

I tried to finding solution at the API. but I failed to finding solution. 

please help me
Reply


Messages In This Thread
RE: How to get realtime F value between control point. - by wjdtjr0114 - 02-09-2017, 07:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Control Point Interpolation Overrides. rickgplus 1 529 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 3,413 04-16-2025, 02:19 PM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 3,192 02-04-2025, 09:31 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,618 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: