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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 19 Yesterday, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: