Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh generation - orienting endpoints
#1
I'm trying to use a generated mesh from a spline and seamlessly attach it to a prefab. The mesh generation is using the line shape so it's nothing terribly fancy. The attached image here shows the effect I'm seeing.

   

This is a single spline that loops around with the first CP being at the top of the junction point and the last being at the bottom. The generated mesh is the road that loops. The junction in the road is a prefab with a couple of different splines that run in varying directions so I can path accordingly.

What I'd like this to do is honour the orientation of the starting and ending control points so that I can get them to line up with the junction mesh.

Is this something that we can do with the current mesh generator? Or is this on the wishlist for the new one?

I've been able to tweak the splines to get it pretty close to joining up by mucking about with the TCB values but my goal is to be able to allow the user to draw roads in realtime and have it line up the way they would expect.
Reply


Messages In This Thread
Mesh generation - orienting endpoints - by chris - 10-13-2013, 04:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 627 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,573 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 4,101 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 2,039 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: