can somebody please help me to rotate the direction of treads on tyre material from automotive materials pack for UE4. i saw a tone of video and guides about customrotator node but the thing is whenever i use it to rotate it 90 degree, the uv gets stretched or something. its like rotating every angle other than perpendicular direction that i require. Also that specific node is quite complex for a newbie like me.
Inside that function you can inject a rotator just before the outputs. Then right click on the graph and select Function Input to add an input to this function, hook it up to the Time inputs of the rotators and set it’s input type to Function Input Scalar (this allows a scalar value to be added to the material function and drive the rotator). Name the input something that makes sense to you and in this case you should probably tick Use Preview Value as Default (If you don’t then this function will always require a parameter plugged in for that value or it will return an error), apply your changes to the function.
Back in the M_Opaque_Master material your UV function will now have a UV Rotation input that was not there before. From here you can create a Scalar parameter that can be plugged into the newly create UV Rotation input (Note that I have set its group to UV’s so that it shows up in the correct category when making changes to the material instance).
It’s also worth noting that the meshes shape and UV’s will play a major part in how this works. You can also turn off Use Object UV's which will project the material as a triplanar material instead.
Hopefully that helps with what you were trying to achieve.