Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating splines from the surface of existing 2d colliders
I work with a lot of complex 2d polygon and edge colliders. These already exist in my scenes. Is it possible to auto generate splines that follow the outlines of these colliders? Essentially the reverse of creating colliders from existing splines. If this isn't possible out of the box, is there a good way for me to accomplish this with the API? (I do not own the asset at this point.)
You can do that via the API. You can see a simple usage of the API here:
So in your case, you will set the spline's interpolation type to Linear, and then go thought all your collider's points and add them to the spline.
Let me know if you need more details.
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 for the quick reply! I think that should do the trick...

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tunnel Colliders and Looping Meshes Petusarian 1 2 07-10-2024, 07:51 PM
Last Post: _Aka_
Information New free asset: Converter For Unity Splines _Aka_ 19 56 06-23-2024, 02:26 PM
Last Post: _Aka_
  Invisible Gizmos In Latest Curvy Splines orrenravid1 1 3 06-11-2024, 07:36 AM
Last Post: _Aka_
  Twisting Splines ZiggZagg 6 11 05-14-2024, 04:48 PM
Last Post: _Aka_

Forum Jump: