Posts: 2
Threads: 1
Joined: Nov 2015
Posts: 690
Threads: 71
Joined: Jan 2015
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
Posts: 2
Threads: 1
Joined: Nov 2015
11-04-2015, 06:55 PM
(This post was last modified: 11-04-2015, 06:59 PM by QuickSilver.)
(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.