Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generator not drawing along spline
#3
(11-04-2015, 06:36 PM)Jake Wrote: From what I see from the images it should work this way. As no external input is involved, would you mind to attach the scene file? I'll have a look then.

Thanks
Jake

Thanks for the reply.

I actually figured it out by just digging into every setting. The path spline was scaled up when I moved it under the Unity Plane object (before creating the Generator), meaning the CPs were actually really close together but scaling made them look spread out. Apparently the spline translation isn't taken into account when generating verts, so it was using the local positions as if they were world space and creating a really tiny mesh. I can get around this by just creating the splines and meshes before moving them under Unity GameObjects but it would be nice if you could make it work both ways. Probably wouldn't take much to include the spline translation matrix when generating verts for the mesh. Actually, come to think of it, you might have to do a full parent matrix translation both ways.
Reply


Messages In This Thread
RE: Generator not drawing along spline - by Jake - 11-04-2015, 06:36 PM
RE: Generator not drawing along spline - by QuickSilver - 11-04-2015, 06:55 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_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 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_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: