01-18-2018, 01:42 PM
The fundamental issue with making Position visible in the inspector (and consequently in the animation window) is that Position is a property, not a serialized field, and Unity does not display properties in the inspector.
Making Position a serialized field would need structural changes in the SplineController class (and other similar classes) to keep thinks clear and coherent from an API point of view, and from an UI based workflow point of view. Just to give you a glimpse of the issues, if Position is made a serialized field, then RelativePosition and AbsolutePosition need to become serialized fields too. Which means the code now needs to synchronize the values of all these fields (plus the mTF field currently used) to keep everything coherent. This is not impossible to do of course, but the ratio benefice/time_needed is too low compared to other tasks in the backlog.
Last night, while thinking about this, I was planning to end this post with a workaround for you and other people in your situation, but what you posted is already a very good workaround, so no need for me to add to it anything. Thanks for having shared this with the other Curvy users.
Sorry for my disappointing answer, but please keep in mind that other features/fixes/optimizations will be done instead.
Making Position a serialized field would need structural changes in the SplineController class (and other similar classes) to keep thinks clear and coherent from an API point of view, and from an UI based workflow point of view. Just to give you a glimpse of the issues, if Position is made a serialized field, then RelativePosition and AbsolutePosition need to become serialized fields too. Which means the code now needs to synchronize the values of all these fields (plus the mTF field currently used) to keep everything coherent. This is not impossible to do of course, but the ratio benefice/time_needed is too low compared to other tasks in the backlog.
Last night, while thinking about this, I was planning to end this post with a workaround for you and other people in your situation, but what you posted is already a very good workaround, so no need for me to add to it anything. Thanks for having shared this with the other Curvy users.
Sorry for my disappointing answer, but please keep in mind that other features/fixes/optimizations will be done instead.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.