Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bezier curve takes multiple frames to resolve
#2
Hi,
I am right now on vacation, for two weeks. I have some guesses about the issue, but without access to a proper development environment, I can't test them. I hope the guesses will be helpful:

First of all, what kind of coroutine do you use (what do the coroutine awaits for?)

3-4 frames is indeed too much. Maybe what happens is that you modify two properties of the spline, A and B. B is somehow tied to the value of A. So when you set B, A's modification wasn't considered yet in the spline internals. So basd on this guess, try refreshing the spline after each modification of the spline. It's overkill, but it might pinpoint what exactly goes wrong.

The next curvy update, that I unfortunatly couldn't finish before going on vacation, wil contain changes that will reduce the amount of state inconsistency between when a spline is modified through the API, and the moment it is Refreshed. I hope it will fix your issue. To make sure it, does please send me a reproduction case so I can debug this.
The main other addition of the next version will be big improvement in performances mainly for real time spline modifications.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Bezier curve takes multiple frames to resolve - by _Aka_ - 03-15-2018, 09:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Distance travelled across multiple splines jh092 1 7 02-23-2024, 09:44 AM
Last Post: _Aka_
  Multiple Splines and Generators Performantly for Road System drock 1 6 07-17-2023, 10:31 AM
Last Post: _Aka_
  Can Curve Spline be used for an in game level editor. Lupos 30 71 06-03-2023, 10:58 AM
Last Post: _Aka_

Forum Jump: