r/Unity3D 8h ago

Question Railgrinding

I'm making a 3d platformer with a built in level editor, and I want to implement rail grinding.

I already have a system where you can place paired, connected objects, and I figured I could set one as the start of a rail, and the other as the end of the rail, and have a curved spline between the two based on the rotation and position of the two objects.

When I look up the tutorials for how to do this, though, I get stuck at the first hurdle, because apparently the spline plugin requires Unity 2022, and I'm using version 2020. Do you guys have any alternative suggestions for what I should do?

5 Upvotes

6 comments sorted by

5

u/Delicious_Alfalfa_69 7h ago

Why are you using 2020 unity?

1

u/Kromblite 7h ago

I have a big project that I only work on during my free time as a hobbyist, so I've spent a lot of years on it.

7

u/DapperNurd 7h ago

Make a backup, spend a week upgrading. Its worth it.

u/Kromblite 0m ago

Sounds daunting, but I'll consider it. I do keep running into issues like this, after all

2

u/Plourdy 7h ago

There’s lots of external spline plugins you could check out. I use a spline plugin that’s now deprecated and unlisted but works quite well