Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline Controller not moving over moved and rotated spline

Using an older version of Curvy I encounter the following.

- I have a SplineController which updates in World space.
- Both the splines are children of a root GameObject, which is rotated, translated and scaled at runtime.
- When this root is not transformed, the SplineController moves correctly.
- When this root is transformed, the SplineController follows the spline as if this root is not transformed.
- The spline has CheckTransform turned on.
- The spline is correctly displayed (transformed) in the editor.

What can be the cause, and how can I fix this?

I can't easily update, as I had to modify this version quite a lot to get it properly building on UWP. I already use SetDirtyAll and Refresh on the splines after the root object is transformed.

I couldn't reproduce the bug you described in the latest version. What Curvy version are you using?
Also, if you send me the changes your did to make it work with UWP, I could integrate these changes in Curvy, and this way you could update without issues.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Thank you for the quick response.

I actually don't know what version it exactly is. I'll investigate deeper myself.

I ended up removing the complete set of CG functionalities. There was a dll which caused some headaches when compiling for the Hololens. It would be great if the CG functionality was a complete separate folder, so it can easily be skipped when importing the plugin.

The version is available in the code in CurvySpline.APIVERSION, or through the UI in Curvy Options->About Curvy

I see two ways of fixing your issue:
  1. You give me your Curvy version, and I will try to detect the changes on Curvy since your version that resolved your issue. And if these changes are simple to apply, I will send them to you.
    I would like to avoid this solution if possible, because it can be very time consuming, depending on how old your version is.
  2. You try the latest version of Curvy (after backing up your project). If it builds with UWP, which is what it is supposed to do, great. If not, you give me details about the issue, and I will try to fix them in a Curvy update.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: