Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Camera wobbles on too long spline (100km+)
#2
Hi,

From reading this post, I think too that this is due to loss of precision due to the float representation. But it is not because of the floats used in the Position Vector3, but the float used by the controller to represent the progress along the spline. That would explain why moving things closer/further from world origin did not change the issue.
The said float is either between 0 and 1 wen setting Position Mode to Relative, or between 0 and 100km+ when set to Absolute. So could you please set both Move Mode and Position Mode to Relative and tell me if thinks work better?

And about splitting the spline to multiple smaller ones, I am trying to avoid this fix for now, but if it came to that, knowing where you are on the virtual long spline is doable with some simple logic. I will say more about that if we end up needing to subdivide the spline.

Is it possible for you to send me the reproduction scene/scripts? That would help me understand what is going on and what your needs exactly are.
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: Camera wobbles on too long spline (100km+) - by _Aka_ - 07-29-2019, 12:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  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_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 14 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: