Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate Spline and Segments dynamically with a script??
#2
(08-09-2018, 03:32 AM)mythstified Wrote: I've been fishing around the API and am utterly confused.
Can you please explain to me what confuses you? Do you have any suggestions to make the API easier for you? I ask because I don't see the complexity in finding the method to add control points to a spline. Maybe I became blind to the issues you encountered, so your opinion will be helpful.
The method you are looking for is CurvySpline.Add

(08-09-2018, 03:32 AM)mythstified Wrote: if you have any other tips or things to keep in mind while doing such a task please let me know!
For better performance, use the Add method override that takes the array of all positions at once, instead of calling the one that adds a single CP multiple times.
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: Generate Spline and Segments dynamically with a script?? - by _Aka_ - 08-09-2018, 11:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: