Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skip Input Mesh if spline has too much bend
#1
Just bought the tool and love it, started using it to create pipes for environments and had some different variations to randomize between. However found an issue that would be neat to be able to solve, if the split has too much bend I would like to ignore some mesh variations from the input meshes.

Is there any way to do this? Otherwise a Max tangent size or something like that would be awesome as setting for the properties section for each mesh in the Input Mesh script.

[Image: FLGvGVd.png]
Reply
#2
Hi
Thanks for your purchase. Glad to read that you love using Curvy Splines.
Unfortunately, the feature you described is not implemented in Curvy Splines. One can implement it, but it is not a trivial task. Are you a programmer?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
(09-26-2023, 08:21 PM)_Aka_ Wrote: Hi
Thanks for your purchase. Glad to read that you love using Curvy Splines.
Unfortunately, the feature you described is not implemented in Curvy Splines. One can implement it, but it is not a trivial task. Are you a programmer?

I am. I'm guessing one can get the tangent for the position the mesh is to be placed at and if so pick another. However since this would be something that would need to be extended in the editor scripts as well etc I agree that it's not a trivial task. I will look into it on my end but put it on the list for feature requests Smile
Reply
#4
Sorry for the late answer.
Request added to the requests list.
If you want to implement it, make sure to check the BuildVolumeSpots.AddGroupItems methods. I guess this might be the best place to take into consideration any condition to check before selecting which object to place. I might be wrong.
The method above has a parameter of type CGPath. The tangent information can be taken from the parameter of CGPath.Directions.
I hope this helped.
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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
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_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_

Forum Jump: