BezierPath, an easy to use and optimized spline path module for TD games and general paths

Yup I just needed it to calculate once only so I have the data points

oh jesus please marry me, this is perfect

is there a way to calculate the perfect curve size, cause once the size of a curve is too big it starts to act strangely.

the module already calculates the perfect curve size. if a curve is too big it will clamp it to the best curve that wont cause the curve to collapse on itself

oh thats nice! but I’ve found that it acts very oddly like random speed ups and slow downs before and after a curve if the curve size is too big, any reason for this?

I also encountered an odd bug where if I had too many points the path would freak out. Though that could just be cause of my average coding skills

the slowdown and speedup is because that bezierpath doesn’t have arc length reparameterization implemented. i didn’t add it cause for my own personal use case it wasn’t needed so i didn’t implement it in version 2. but if you are interesting version 1 does have it and you can easily import it into version 2. as for the second issue no clue what the cause could be