Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible bug when creating spline in 2D
#1
I have been using Curvy for a day now. And I see one somewhat annoying bug. I pop into 2D. And regardless of what plane I tell curvy to draw in, it projects the curve into depth.

In the 2D mode, the curve looks right. But when I go into 3D, the curve is stretched along the Z axis. To fix it, I just pick all the control points and set their Z to 0.0. But It doesn't seem like this should be the behavior.
Reply
#2
Confirmed, will be fixed in 2.0.3!

To fix, open /Packages/Curvy/Base/Editor/CurvyToolbar.cs, line 361, and replace

Code:
P = new Plane(Vector3.forward, tRef.localPosition);

with

Code:
P = new Plane(Vector3.forward, tRef.position);

Thanks for reporting!
Reply
#3
That fixed it! Thats why your paid the big bucks!

Thank you!
Reply


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 354 01-20-2025, 12:25 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 121 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 222 12-21-2024, 10:14 AM
Last Post: _Aka_

Forum Jump: