Drawing to an editable spline in game view
So I have a custom editor that allows me to create a spline in the editor view and add new curves/edit existing ones. The spline in editor view looks like this:
Now while I can edit this spline in editor view, you cannot see it in game view. What I'm looking to be able to do is show this spline in game view keeping it updated with the spline in editor view but also make it more than just a single thin line. I'd prefer it to be a much thicker line with a black border around it. I'm not sure how possible this is but if any knows a way to even draw the spline into game view, I'd be grateful.
Thanks for any help!
Answer by G3al · Apr 01, 2016 at 08:27 AM
create a mesh around the spline, where each quad is facing the camera and is taking into consideration the spline normalized velocity to define its normal
Okay, I know this answer is really late but that's a really good point. I did stop the project due to work I had to do for school but I might start it again at some point with this in $$anonymous$$d. Thanks a lot!
Your answer
Follow this Question
Related Questions
Bezier Spline Road Issues 0 Answers
I'm having a few issues with (Catmull)Splines that i need help with. 1 Answer
Curves on Unity 1 Answer
Bezier curves with rotation 0 Answers
How do i have game object in the middle of a Catmull spline? 0 Answers