Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Odd behavior when drawing spline
#9
Thanks for the probing questions, they've helped me to think about why I haven't run into this before.  I think it's just a misunderstanding on my part of how Curvy works and some changes in the workflow I'm using when drawing splines.  Here's what I've found:

  • You are correct on Curvy 7 having the same behavior, my test project showed me the same results.
  • My workflow differed between scenes and it took me a bit to figure out what was different... I've done several prototype projects and there's been some time in between them.  Previously I was using the camera as my guide for drawing the spline, so I had it selected when drawing to see the gizmo dimensions... which means I was drawing the spline with an object selected in the scene... then I'd pull it out to it's own object and it would stay the same.  In the current scene, I've got another framework in the project that provides some colliders that I've surround the scene with and it's gizmos show regardless of what's selected in the scene (the pink lines in the second picture from the last post).  I was drawing the spline without having an object selected, so Curvy did it's default positioning of the spline 10 units from the camera.  Visually, they both look the same based on the different gizmos, but the latter spline is smaller because it's closer to the camera.
  • The Set Pivot tool of the spline gives me what I need to align the first control point and game object transform to the same location, so I should be good there.

Now that I have a better understanding of how it works, this makes sense to me.  Thanks again for the discussion, it helped to talk through it.  Smile
Reply


Messages In This Thread
Odd behavior when drawing spline - by ricke - 11-24-2022, 05:53 AM
RE: Odd behavior when drawing spline - by _Aka_ - 11-24-2022, 09:00 AM
RE: Odd behavior when drawing spline - by ricke - 11-24-2022, 03:11 PM
RE: Odd behavior when drawing spline - by _Aka_ - 11-24-2022, 06:37 PM
RE: Odd behavior when drawing spline - by ricke - 11-25-2022, 01:54 AM
RE: Odd behavior when drawing spline - by _Aka_ - 11-25-2022, 09:14 AM
RE: Odd behavior when drawing spline - by _Aka_ - 11-25-2022, 08:56 AM
RE: Odd behavior when drawing spline - by _Aka_ - 11-25-2022, 09:13 AM
RE: Odd behavior when drawing spline - by ricke - 11-25-2022, 02:35 PM
RE: Odd behavior when drawing spline - by _Aka_ - 11-28-2022, 10:34 AM
RE: Odd behavior when drawing spline - by ricke - 05-14-2023, 04:22 AM
RE: Odd behavior when drawing spline - by _Aka_ - 05-15-2023, 12:28 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: