Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to tell volume spot to ignore mesh bound?
#2
Hi
I see two solutions to reach your objective. I recommend the first one
1- Add a script that will automatically do what you already do by hand: modifying space before/after to subtract half of the mesh's depth. The advantage of this solution is that you will not have to modify the code of Curvy Splines, which will make updating Curvy to the latest version not a trivial operation anymore. Also, less chances to introduce bugs.
2- Modify Curvy's code of the Volume Spots module to completely ignore the depth of the input mesh.
API side, that depth is available at CGBounds.Depth. If you find all references to it in the code, which are all for now in BuildVolumeSpots.cs, you can modify those parts of the code to not take into account the depth. This solution will be more difficult to implement, since you will need to get familiar with the code of that class, which is easier said than done. The advantage of this solution is that you will not need to add any new script to your scenes for it to work, unlike for solution 1.
I hope this helped. Let me know if you have other questions
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


Messages In This Thread
RE: How to tell volume spot to ignore mesh bound? - by _Aka_ - 11-16-2021, 12:48 PM

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_
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
Question Volume Spots inter group distance Sacryn 1 3 02-27-2024, 04:08 PM
Last Post: _Aka_

Forum Jump: