Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Odd behavior when drawing spline
#1
Hi there.  I'm currently using Curvy 8.3.0 with Unity 2021.3.10f1 and I think I might have stumbled across a bug when drawing splines in the scene view.  Might be a bit hard to explain with words, but I'll give it a shot... I could send a short video for you if that helps.  Here's what I've noticed:

  • If I have an object selected in the hierarchy of the scene and I use Draw Spline (I'm using the XY plane), I can place control points with Ctrl pressed and create a spline of any length.  Once I'm finished drawing, I can use my scroll wheel on the mouse to zoom in/out on the scene and the spline remains a consistent size.  When selecting the main Spline parent object that contains the control points, it has relative Transform values compared to the object selected in the hierarchy (e.g. hierarchy object is at X 400, Y 500, Z 100, spline parent is at X -400, Y -500, Z -100).  I can drag the spline parent out of the selected hierarchy object and it remains the same in scale and has adjusted Transform values to keep it the same.
  • If I have no object selected in the hierarchy of the scene (so the created spline object is a root object for the scene), I get some really interesting scaling issues with the spline.  Once I draw the control points, the root spline object appears to adopt a Transform Z value based on the viewing scale of the camera... if I'm zoomed out and draw the spline, it's a large negative value but if I zoom in close and draw the spline, it uses a smaller negative Z value or positive value, based on how far I'm zoomed in.  Then if you zoom in/out, the spline size drastically changes... zooming out just a bit makes the spline really small and zooming in a bit makes it disappear from the camera view.

Hopefully that makes sense.  Maybe I'm doing something wrong and this is expected behavior, but I don't recall the behavior on version 7 of Curvy (I upgraded to version 8 a little while ago).  Any thoughts?
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
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 97 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 350 01-20-2025, 12:25 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 119 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 215 12-21-2024, 10:14 AM
Last Post: _Aka_

Forum Jump: