Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy API - Rolling an aircraft into a turn?
#3
(02-01-2017, 07:45 PM)Jake Wrote: Hi,

there is no builtin solution and Curvy doesn't store curvation deltas directly. But you can access CurvySplineSegment.ApproximationT[] to get tangents (i.e. direction) of cache points and calculate directional velocity from this.

To find the array index to start use getApproximationIndexINTERNAL().

To max this, create a custom metadata class that automatically fills an array (ApproximationDirVel[] or such). You then can easily access that from a custom controller to add smooth rolling.

Does that help?

Hi Jake,

This makes sense, I have some questions though:

  1. Will this method work even when my SplineController subclass does not have "Use Cache" checked?
  2. Could you explain more about this custom metadata class? Would this class be attached to a Control Point object? Wouldn't that only let me adjust the roll of the custom controller per control point with interpolation in between? This might not match the curve between points.
Thanks!,
Kyle
Reply


Messages In This Thread
RE: Curvy API - Rolling an aircraft into a turn? - by kvekos - 02-01-2017, 09:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: