Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different texture for each segment
#1
Hello again!

I asked on unity forum about this and you answered right away.

I tried it out and want just to make sure if Im doing the right thing.

The correct thing to do is to put the script on each and every segment, configure its from TF and TO TF according to the proportion of my segments, do it 1 by 1 so It will generate a single mesh for every segment, right ?

If not, tell me whats the better way to do this.

Thanks!
Reply
#2
Hi,

yes. You can put the SplineMeshBuilder component on any GameObject, that doesn't matter. The Spline to use is set by the Spline parameter.

Jake
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Is it possible to create a road texture at runtime? artsung 1 4 01-30-2024, 09:30 AM
Last Post: _Aka_
  I want to know how many times the texture repeats. yanke 5 13 09-17-2023, 09:56 AM
Last Post: _Aka_
  Is there a way to extrude a bit past a spline segment? Lupos 1 6 05-09-2023, 09:55 AM
Last Post: _Aka_

Forum Jump: