Using Splines package in a 2D project, I can't get it to work in 2D.

When I create a spline through the Draw Splines Tool, I cannot draw any knots unless I switch to 3D mode. When I do that I get knots that are not oriented correctly or even in the correct positions.

After looking for a pathing tool for 2D I found 2D path, which is depreciated in newer versions of Unity.

That post specifically states to use the new splines package to replace 2D path.

How the hell do I use this replacement in 2D?

5 Likes

Also interested. It would be good to have Spline default shapes in 2D format also. Something like: GameObject/Spline/2D/Circle

Bump

Whoever is still having this issue, I find a way to make it work in 2D. You need to enable the grid view along the Z plane. Here is a gif.

To Unity Devs: This should be documented.

Hope it helps you all!

Recording2024-09-19185445-ezgif.com-video-to-gif-converter

4 Likes

This was really helpful!!! I couldn´t understand why the knots weren´t drawn in the scene, and I was like “omg should I recreate the project from scratch but this time with a 3D project to make it work?”. But then this reply and GIF helped me out. Thank you sm!!

1 Like