If you click on the “Sine” node, the property window should show a property called “Period”
For some reason, in the UE4 material editor, the sine node has a default period of 1. That means it repeats ever 1 unit. The theory is that this was done to make it more artist friendly since people expect things to repeat over 0-1. But mathematically, sine has a period of 2 pi (which is 3.14 * 2 or 6.283185).
So you need to make sure to make the material sine match the BP sine. The BP sine uses the mathematically correct 2pi as the period.
I am beginning to think it was a mistake to alter the period of sine… but its kind of too late to change it now since it would affect a ton of content.
changing the period is also the same as simply dividing the input to the sine. So you could also divide by 2pi after the divide by 250 to achieve the same thing.
Dividing by 250 says “these waves repeat every 250 units in the world” which is 250 cm or 2.5 meters. With a period of 2pi, that makes each wave repeat over 250*2pi which is 1562.5cm.