Posts: 3
Threads: 1
Joined: Dec 2018
There is another thread (https://forum.curvyeditor.com/thread-167.html?highlight=jitter) which stated this issue, i have attempted the solution in that thread to no success.
On the editor its completly smooth, however on device there is jittering/stuttering/flickering when my object is moving along the spline. I've turned off all scripts that could affect movement in order to rule out possible causes which means the only remaining scripts running that could cause this issue is the CurvySpline.cs, and SplineController.cs.
Here are the settings for both:
Any help would be appreciated.
Posts: 2,092
Threads: 88
Joined: Jun 2017
Your controller is set to be updated in Fixed Update, this might be the problem. If your fixed (physics) update rate is 50 FPS, and your (rendering) update rate is 60FPS, then each second you will have 10 frames where the controller will not move compared to the previous frame, which will lead to the feeling of jittering.
Try making the controller update in Update instead of Fixed Update, and let me know if this fixed the issue.
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Posts: 3
Threads: 1
Joined: Dec 2018
Hi Aka,
Thanks for getting back to me, unfortunately that hasn't solved the problem. I've also tried using the Cache, Changing Position and Move Mode, Changing Cache Density and Max Points Per Unit. When the object is moving without the use of a spline (i.e. character controller it moves smoothly) for the record i've tested the spline with only those two scripts listed below affecting the movement of the object, so there are no conflicts.
Posts: 2,092
Threads: 88
Joined: Jun 2017
I can't see anything wrong from what you explained. I will need more data to diagnosis the problem. Can you please send me the minimalist project with the issue, and a video capture of the result on android (and on desktop too if possible)?
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Posts: 3
Threads: 1
Joined: Dec 2018
I've just emailed you a video, creating a small version of the project will take some time so i'll send it if you think its necessary after seeing the video.
Posts: 2,092
Threads: 88
Joined: Jun 2017
I answered via mail. Let's continue our discussion there. I will post here once the issue is solved for future reference
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.