Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SplinePathMeshBuilder : Shape Rectangle with complete UVs
#2
You can alter the way UVs are generated in the code (CurvyMeshBuilder.cs):

UV's are added in Extrude() (line 594ff). mUV[] is the array that holds the mesh's UV data. We take U from the input mesh and V is calculated by getV() based on the inspector settings. With U coming from the Input mesh, you can also change the rectable input mesh generation (CurvyUtility.cs: MeshHelper.CreateRectangleMesh() ).

Jake

PS: I forgot the default answer: the new version will offer a lot of more options...

 
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  Animating a shape on along a spline will not playback in scene or game views sam_bond 3 9 05-03-2023, 11:41 AM
Last Post: _Aka_
  Inaccuracies with offseted Shape Extrusions MichaelMenzi 6 15 12-14-2022, 10:22 AM
Last Post: _Aka_
  Shape extrusion scaling tairoark 5 19 06-07-2022, 05:35 AM
Last Post: _Aka_
Bug Shape Extrusion does not align with Input Spline Shape bit9labs 1 9 04-08-2022, 12:27 PM
Last Post: _Aka_

Forum Jump: