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
  Generator gameobjects missing offset and rotated beewhale 5 451 08-30-2026, 07:51 PM
Last Post: beewhale
  Spline Issue Leading to Unity Freeze Pankaj09 1 219 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 170 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,104 06-30-2026, 11:49 AM
Last Post: _Aka_

Forum Jump: