Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subdivide in runtime?
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.

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.
Thanks a lot.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Frequent runtime updates of Curvy Generator for simulating plant growth using Splines h4ck3rd4wg 6 710 10-02-2020, 07:57 PM
Last Post: _Aka_
  Making long roadmesh runtime migeg 19 2,519 08-17-2020, 11:04 PM
Last Post: migeg
  Letting users create and edit splines at runtime skote 1 520 07-12-2020, 04:49 PM
Last Post: _Aka_
  Null reference when spline controller added runtime jh092 1 637 06-19-2020, 09:21 AM
Last Post: _Aka_

Forum Jump: