Download

UV offset based on actor position doesn't work when the object is on grid

Hi everyone!

I need my material to be randomized depending on world position and I’ve used a solution from here - https://www.reddit.com/r/unrealengine/comments/ag9k0d/how_to_use_the_object_xy_position_to_randomize_uv/

but no matter what number I enter - integer or not - the texture pans in the exact same position if I move meshes on grid, i.e by 1,10, 20 meters. If I turn off grid it works as intended. Any advice on how to solve this? ​​

the only current solution is to move an object on non-integer grid like 5 meters which is not optimal. Or setting an object on grid and then move it by a tiny amount which isn’t optimal too.