10-01-2022, 12:04 PM
Hi
About point 2:
There is no dirtying notification. When a CP is dirtied, the spline will get refreshed, which triggers an CurvySpline.OnRefresh event. You can listen to the meta data's spline for that event. That way, you don't have to mind about connections, follow ups or what not. In your event listener, compare the current CP's position with the one you would have cached before hand, and if different, update your meta data.
Did this help?
About point 2:
There is no dirtying notification. When a CP is dirtied, the spline will get refreshed, which triggers an CurvySpline.OnRefresh event. You can listen to the meta data's spline for that event. That way, you don't have to mind about connections, follow ups or what not. In your event listener, compare the current CP's position with the one you would have cached before hand, and if different, update your meta data.
Did this help?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.