Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subdivide in runtime?
#1
Is it possible to make a subdivision between two Control Points in runtime?

If it is possible then is it possible to find any two pair controls points before performing subdivision?
For example, first pair of Control Points like CP04 and CP05. So new Control Point will be CP05 and CP05 will become CP06.

Subdivision works great in editor mode.
Reply
#2
Hi,

Every feature available through the editor is also available at runtime through the API.
The method you are looking for is CurvySpline.Subdivide

Let me know if you have further questions. 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
#3
Thanks a lot.
Reply
#4
Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
Wink Modifying Splines at Runtime artsung 1 7 01-30-2024, 09:40 AM
Last Post: _Aka_
  Is it possible to create a road texture at runtime? artsung 1 4 01-30-2024, 09:30 AM
Last Post: _Aka_
  Cant Generate Meshes At Runtime alms94 5 22 01-26-2024, 11:27 AM
Last Post: _Aka_

Forum Jump: