I am needing to move a player along a path using keyboard input, NOT by animating it or using SplineMove component. I have been searching EVERYWHERE, I’ve gone through dozens of tutorials and everything animates movement along paths. I need to move my player/first person camera using keyboard input, just forward and back arrows to move forward and backward along a path. I feel like I’m losing my mind trying to find out how to implement this functionality. If anyone can please help, I would be eternally grateful.
This is the 6th thread you’ve made about this and the answer doesn’t change.
You need to first find a curve/spline package. You can’t do anything without that. Unity has one I believe, and there are options available on the asset store.
Then you need to learn how to use it. This will involve reading the documentation, tutorials, etc, on how to interface with the spline. Don’t dive into your specific problem until you have a handle on how the package works.
Looking at the Doc’s on Unity’s spline package, I can see plenty of likely candidates for parts of the API that are relevant to your needs. Then it’s just a matter of reading inputs and supplying the necessary values to the relevant API methods.
I’ll be frank, hoping for someone to hold your hand or hoping for the perfect tutorial to guide you the entire way is not going to get you far. You need to be able to understand the relevant pieces of the problem, and solve each of them individually, learning what you need along the way. A lot of this will involve solving problems on your own.
The docs for splines doesn’t seems to help.
I literally linked to the page/method that would help out in this context.