Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating splines from the surface of existing 2d colliders
#2
Hi
You can do that via the API. You can see a simple usage of the API here:
https://www.youtube.com/watch?v=dhd08ECFPD4&list=PLatR0iPtXq-x8gDP9tNaxC5Pp32DEL6fS&index=3
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.
Reply


Messages In This Thread
RE: Creating splines from the surface of existing 2d colliders - by _Aka_ - 08-18-2021, 09:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 18 04-25-2024, 11:11 AM
Last Post: _Aka_
  Help creating a wedge Thinkurvy 2 3 04-24-2024, 12:25 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 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: