I am wondering if there is a way to (in Roblox) rotate a texture.
Take my example here, I have a block in the centre, and 2 stair blocks. Right now, I am looking at the Back
face of the block, and the Back
face of the stair on the right. The stair on the left has been rotated 180 degrees, and so I am looking at the Front
face of that stair
However, from above, this is the result I get
So because I rotated the left stair, it’s texture is now facing the wrong way. Ideally, I’d like a way for me to easily rotate the texture. I don’t want to upload a new mesh/texture. I should be able to just (using code) see if the blocks front face is facing towards say positive X, then Rotation of texture == 0, or if blocks front face is facing negative X, then Rotation of texture == 180, so it’s flipped.
This could then work for other rotations of the stair, as more problems arise if you rotate if 90 degrees.
I could just always check which way the front face is facing, and rotate the texture as needed (0, 90, 180, 270) and so textures would ALWAYS line up