Closed bladeSk closed 5 years ago
Thanks a lot for you contribution ! It's always a true pleasure to welcome contributors in.
Halas your changes don't work on the vertical situation, where a gimball lock occurs. You can observe it on the last example in the showcase.
This is a known problem reported in issue #14. I think the solution is somewhere near your modifications, but I'm not able to work on it right now, unfortunately.
I've reset the master but don't hesitate to pull more code.
Roll worked correctly only if the spline was oriented along the X-axis. This fix makes it work with any direction.
Furthermore, undesirable roll was applied to ExtrusionSegments - roll already comes baked into a SplineSample's rotation.