Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Merge function for two CurvySplines
#2
Hi HatraE

"I tried it with changing the parent of the CPs (controllpoints) and then use the function SyncSplineFromHierarchy ()."
I was believing that this would work. Please send me your splines' merging code and I will see how to make it work.

"Another thing is that I'm not sure if sometimes the Refresh() function for the CurvySpline comes too late and the next operation tries to access wrong data of a curvySpline."
There is a good way to figure this out, which is to set the CURVY_SANITY_CHECKS preprocessor symbols. This will make Curvy log messages if you use its API incorrectly, helping you debug possible issues. These checks cost some additional CPU time. More information here: https://curvyeditor.com/documentation/apigeneral?redirect=1#preprocessor_symbols
If you do set that symbol, you might get warnings from Curvy's code.
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
Merge function for two CurvySplines - by HatraE - 01-19-2021, 08:26 PM
RE: Merge function for two CurvySplines - by _Aka_ - 01-20-2021, 07:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does CurvySplines support displaying handles and points during runtime? niuage 1 7 12-11-2023, 12:01 PM
Last Post: _Aka_
  Does Curvy has gameobjects pooling system function? Chanon 7 13 09-07-2023, 12:43 PM
Last Post: _Aka_
  How to merge intersecting meshes at spline connections? Reign_of_Light 2 6 03-20-2023, 08:36 AM
Last Post: Reign_of_Light
Video How do I merge splines only if some control points are at the sam position? arcade.autumn 5 17 02-13-2023, 09:35 AM
Last Post: _Aka_

Forum Jump: