So, I’m making a game based around movement through a pipe, and have an artist making assets for me in Maya. They will create segments of pipe, or whole courses, I will then import them into Unity. The course may turn, or face any direction, and will never intersect itself. What I’d like is basically a line through the entire track that would always be at the center of the pipe. This way I’d always be able to derive directions of the pipe (forward, right, and up). That’s at least the only way that I can think to know the direction, I am open to other ideas and general discussion.
The artist I’m working with said they could create splines in Maya, when he creates the assets that would follow the contour and direction of the segments/course, but would I be able to access those for use in Unity, and if so, ideas on how?
I’ll add an image a little later to further clarify what I’m thinking.