Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to start volume spots at the end of spline instead of front
#1
Is there a simple way to reverse the way volume spots are generated such that they start at then end of the spline, instead of the beginning? (right now the first spot will get generated at the beginning (first control point), and as you modify the spline, like making it bigger, spots will get added in at the end of the spline, while the first spot stays fixed). What I would like to have happen is the first spot will get generated at the end/last control point, and additional spots will get added in at the beginning/first control point. 
Basically something like volume path/range going from 1 to 0 instead of 0 to 1.

I've tried just reversing the spline around (treating the first control point as the 'end' and the last cp as the 'beginning', but I would have to modify a lot of my existing code to make this work. If there's an easier way let me know.


Thanks.
Reply
#2
Hi,

Right now there is no module to reverse a path. So reversing the spline using the Flip too in the toolbar (or via the API) is the best solution. You can maintain two versions of the spline at the same time, the normal one for your code, and the flipped one for the generator.

I hope this helped.
If and when you feel like it, please leave a review for the asset, that helps a lot.

Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Left-right movement, and spline follow shihaya 3 5 07-12-2024, 12:50 PM
Last Post: _Aka_
  How to get length starting from one spline to connected nth spline Dragon-3623 1 2 05-14-2024, 04:52 PM
Last Post: _Aka_
  Set Volume to the Volume Controller at Runtime pako88 2 11 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_

Forum Jump: