[First, note that I read the rules and this is definitly a project I will work on for a few months, posting updates along the way. As for considering it big or small, I think this is a big project for me, while not having alot of code but requiring a lot of work, since I also learn how to use Unity along the way]
I am currently working on my first serious Unity project and I have to implement alot of spline functionality on the side, so I decided to take that a step further and create a fully featured spline kit with custom editor windows, different interpolation types, pathfinding and maybe mesh deformation at the end. At the moment it only supports Bézier Splines but changing the interpolation time should not be that difficult.
My first attempt: Not really taking it serious at the time
An updated version: An object can follow a spline path at a constant speed, the editor supports hotkeys for spline connections and the path can update almost perfectly in realtime.
That is all for now
[Edit: I just noticed youtube made the second video all pinkish and refuses to add the custom thumbnail, oh well, its up now]
I now implemented A-Star-Pathfinding for the spline network. I tried to implement the pathfinding in a very generic way to be able to port it for other possible uses in the future.
For now the pathfinding preview works by using custom edtior windows.
First attempts at deforming a mesh along the spline curve. At the moment there is a special spline anchor point script that gets attached to the would-be deformed mesh. However it makes handling the deformed mesh a bit complicated so I might just completely change the system and go for a modifier style kind of system.
Nice work, FreetimeCoder. I’d love to use this in my project!
I’m trying to use splines to direct an object, at first along a line, but then into a circle (in 3D) when an “auto” mode is initiated, and have that spline change as the user perturbs the direction of this object via controller-inputs. In other words, when auto-mode is initiated, I want to setup the spline points from a script to describe the auto-path of the object to its destination in a loop, and send the object on that path. The user will still be able to rotate (change direction), control speed along the path, but will generally always be directed along this adapting spline. This seems like just the tool to facilitate that.
Not sure if you’ve made it public anywhere, but if so I could really use it.