I’m trying to make a city generator, that builds buildings at random. The problem is whenever I use setTexScale on a model, it changes all models of the same.
Now, this works great for only one building, but if I try to build 5 or so, every building becomes the same number of stories high, just stretched to different lengths.
The fact that the second parameter to setTexScale in your example code above is 0 troubles me, since scaling the U parameter to 0 would usually completely obliterate a texture. If that’s pasted from your actual code, and not a typo in the forum, and you’re still seeing a texture, it must be that the setTexScale() isn’t getting applied for some reason. Maybe your setTexScale() isn’t actually getting called, or if it is, maybe it’s not working for some other reason.