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
  How to move object on Spline without rotating it in direction of the spline? velikizlivuk 0 0 9 minutes ago
Last Post: velikizlivuk
  animating points on a spline Antonio 11 18 09-17-2023, 09:55 AM
Last Post: _Aka_
  Getting object on spline Position when Spline has coordinates larger than 2000 velikizlivuk 5 8 09-05-2023, 01:01 PM
Last Post: velikizlivuk
  Spline.Length not updated unless I add a point to spline (or modify it) first. _RicO 3 6 08-26-2023, 08:41 AM
Last Post: _Aka_

Forum Jump: